Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001174/0.001173, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001289/0.001289, allocations: 177.3 kB / 15.95 MB, free: 216 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.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.768/1.768, allocations: 251.9 MB / 0.51 GB, free: 4.891 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0006522/0.0006523, allocations: 20 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6624, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008264/0.6633, allocations: 349.3 kB / 0.7283 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006414/0.664, allocations: 328.6 kB / 0.7286 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.664, allocations: 0 / 0.7286 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.664, allocations: 3.938 kB / 0.7286 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.6641, allocations: 0 / 0.7286 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.6645, allocations: 74.41 kB / 0.7287 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.302e-05/0.6645, allocations: 11.98 kB / 0.7287 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.6646, allocations: 8 kB / 0.7287 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.6646, allocations: 15.92 kB / 0.7287 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.6647, allocations: 7.984 kB / 0.7288 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.6647, allocations: 0 / 0.7288 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.6651, allocations: 263.6 kB / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.6651, allocations: 7.938 kB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.6651, allocations: 29.7 kB / 0.729 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.6653, allocations: 67.88 kB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6653, allocations: 0 / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.286e-06/0.6653, allocations: 0 / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6653, allocations: 4 kB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005511/0.6659, allocations: 352.5 kB / 0.7294 GB, free: 9.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.6659, allocations: 8.031 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.666, allocations: 11.91 kB / 0.7295 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.6662, allocations: 171 kB / 0.7296 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.6662, allocations: 4 kB / 0.7296 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.6663, allocations: 0 / 0.7296 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.6665, allocations: 53.62 kB / 0.7297 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6665, allocations: 4 kB / 0.7297 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6665, allocations: 0 / 0.7297 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6665, allocations: 4 kB / 0.7297 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.6666, allocations: 15.98 kB / 0.7297 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.6668, allocations: 169.6 kB / 0.7299 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.667, allocations: 66.47 kB / 0.7299 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/0.6678, allocations: 461.5 kB / 0.7304 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.6678, allocations: 30.56 kB / 0.7304 GB, free: 8.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.6678, allocations: 0 / 0.7304 GB, free: 8.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001464/0.6693, allocations: 0.5879 MB / 0.731 GB, free: 8.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.6693, allocations: 59.34 kB / 0.731 GB, free: 7.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.6694, allocations: 93.84 kB / 0.7311 GB, free: 7.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.6695, allocations: 33.7 kB / 0.7311 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.6695, allocations: 84.14 kB / 0.7312 GB, free: 7.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.6696, allocations: 39.39 kB / 0.7313 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.6696, allocations: 4 kB / 0.7313 GB, free: 7.668 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6697, allocations: 318.8 kB / 0.7316 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.6698, allocations: 23.98 kB / 0.7316 GB, free: 7.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.6698, allocations: 19.98 kB / 0.7316 GB, free: 7.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.6699, allocations: 28 kB / 0.7316 GB, free: 7.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6699, allocations: 0 / 0.7316 GB, free: 7.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.6701, allocations: 89.62 kB / 0.7317 GB, free: 7.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6701, allocations: 6.031 kB / 0.7317 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6701, allocations: 8 kB / 0.7317 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6701, allocations: 0 / 0.7317 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.6703, allocations: 23.98 kB / 0.7318 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.6703, allocations: 0 / 0.7318 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.6703, allocations: 4.094 kB / 0.7318 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.6703, allocations: 3.938 kB / 0.7318 GB, free: 7.141 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 0.0001059/0.6704, allocations: 121.7 kB / 0.7319 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.6705, allocations: 7.906 kB / 0.7319 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.6707, allocations: 113.6 kB / 0.732 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6707, allocations: 4 kB / 0.732 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.6707, allocations: 0 / 0.732 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.6707, allocations: 0 / 0.732 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.6712, allocations: 354.5 kB / 0.7323 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6712, allocations: 0 / 0.7323 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6713, allocations: 27.98 kB / 0.7324 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6714, allocations: 0 / 0.7324 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.6714, allocations: 0 / 0.7324 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6714, allocations: 0 / 0.7324 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6714, allocations: 8 kB / 0.7324 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.6717, allocations: 223.3 kB / 0.7326 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.6718, allocations: 89.03 kB / 0.7327 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.6718, allocations: 7.984 kB / 0.7327 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.6719, allocations: 4 kB / 0.7327 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.6719, allocations: 0 / 0.7327 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.672, allocations: 8 kB / 0.7327 GB, free: 6.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.672, allocations: 87.52 kB / 0.7328 GB, free: 5.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.672, allocations: 0 / 0.7328 GB, free: 5.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002957/0.6723, allocations: 40 kB / 0.7328 GB, free: 5.957 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002915/0.6726, allocations: 139.4 kB / 0.733 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.6728, allocations: 75.59 kB / 0.733 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6728, allocations: 0 / 0.733 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.6729, allocations: 31.92 kB / 0.7331 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.673, allocations: 7.953 kB / 0.7331 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.6735, allocations: 198.8 kB / 0.7333 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.6738, allocations: 0.6926 MB / 0.7339 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.324e-05/0.6738, allocations: 11.94 kB / 0.7339 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.6739, allocations: 15.44 kB / 0.734 GB, free: 4.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6739, allocations: 0 / 0.734 GB, free: 4.73 MB / 0.545 GB Notification: Performance of Templates: time 0.00419/0.6781, allocations: 1.347 MB / 0.7353 GB, free: 3.414 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: