Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001473, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7179/0.7179, allocations: 95.63 MB / 366 MB, free: 10.35 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 23.91 kB / 446.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4079, allocations: 70.34 MB / 0.5051 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008705/0.4089, allocations: 281 kB / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004995/0.4094, allocations: 234.4 kB / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.4094, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.4094, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.019e-05/0.4095, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.4098, allocations: 47.89 kB / 0.5056 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.729e-05/0.4098, allocations: 11.97 kB / 0.5056 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.4099, allocations: 4 kB / 0.5056 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.4099, allocations: 7.938 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.41, allocations: 4 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.41, allocations: 4 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.4101, allocations: 111.9 kB / 0.5058 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.4102, allocations: 3.984 kB / 0.5058 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.4102, allocations: 29.7 kB / 0.5058 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.4103, allocations: 43.94 kB / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4103, allocations: 3.938 kB / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4103, allocations: 0 / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.4103, allocations: 0 / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002651/0.4106, allocations: 339.3 kB / 0.5062 GB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4106, allocations: 15.98 kB / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.4107, allocations: 0 / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.476e-05/0.4108, allocations: 163 kB / 0.5063 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4108, allocations: 4 kB / 0.5063 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.4108, allocations: 3.984 kB / 0.5063 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.4109, allocations: 41.64 kB / 0.5064 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4109, allocations: 0 / 0.5064 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.411, allocations: 0 / 0.5064 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.411, allocations: 0 / 0.5064 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.411, allocations: 4 kB / 0.5064 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.4112, allocations: 159.6 kB / 0.5065 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.4112, allocations: 22.55 kB / 0.5066 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.4112, allocations: 8.922 kB / 0.5066 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.4119, allocations: 461.5 kB / 0.507 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.4119, allocations: 34.52 kB / 0.507 GB, free: 14.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.4119, allocations: 0 / 0.507 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001251/0.4132, allocations: 440.1 kB / 0.5075 GB, free: 13.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.4132, allocations: 51.41 kB / 0.5075 GB, free: 13.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.035e-05/0.4133, allocations: 93.84 kB / 0.5076 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.4133, allocations: 33.7 kB / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.772e-05/0.4133, allocations: 80.14 kB / 0.5077 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4133, allocations: 7.844 kB / 0.5077 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.4133, allocations: 224 / 0.5077 GB, free: 13.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.4134, allocations: 318.8 kB / 0.508 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.4134, allocations: 11.92 kB / 0.508 GB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.4135, allocations: 17.72 kB / 0.508 GB, free: 13.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.4135, allocations: 8 kB / 0.508 GB, free: 13.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4135, allocations: 0 / 0.508 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.034e-05/0.4136, allocations: 61.58 kB / 0.5081 GB, free: 12.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4136, allocations: 8.062 kB / 0.5081 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.4136, allocations: 0 / 0.5081 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4136, allocations: 0 / 0.5081 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.4137, allocations: 8 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4137, allocations: 3.984 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.4137, allocations: 4 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4138, allocations: 0 / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.4138, allocations: 113.8 kB / 0.5082 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.4139, allocations: 7.859 kB / 0.5082 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.4141, allocations: 73.11 kB / 0.5083 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4141, allocations: 4 kB / 0.5083 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4141, allocations: 0 / 0.5083 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4141, allocations: 0 / 0.5083 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.4142, allocations: 157.7 kB / 0.5085 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4142, allocations: 0 / 0.5085 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.4143, allocations: 8 kB / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4143, allocations: 11.94 kB / 0.5085 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4143, allocations: 12 kB / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4143, allocations: 0 / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4143, allocations: 0 / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.4145, allocations: 89.12 kB / 0.5086 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.4145, allocations: 85.02 kB / 0.5087 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.4146, allocations: 4.031 kB / 0.5087 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.4146, allocations: 11.83 kB / 0.5087 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.4146, allocations: 8.047 kB / 0.5087 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4146, allocations: 4 kB / 0.5087 GB, free: 12.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.089e-05/0.4147, allocations: 75.28 kB / 0.5088 GB, free: 12.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4147, allocations: 0 / 0.5088 GB, free: 12.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.4149, allocations: 47.98 kB / 0.5088 GB, free: 12.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002253/0.4152, allocations: 131.4 kB / 0.5089 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4153, allocations: 19.98 kB / 0.509 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4153, allocations: 8.219 kB / 0.509 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.4153, allocations: 15.94 kB / 0.509 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.4155, allocations: 4 kB / 0.509 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.4157, allocations: 125 kB / 0.5091 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4159, allocations: 0.677 MB / 0.5098 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.837e-05/0.4159, allocations: 15.98 kB / 0.5098 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.4159, allocations: 11.44 kB / 0.5098 GB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4159, allocations: 0 / 0.5098 GB, free: 11.07 MB / 382.1 MB Notification: Performance of Templates: time 0.004143/0.4201, allocations: 1.311 MB / 0.5111 GB, free: 9.785 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: