Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5658/0.5658, allocations: 95.61 MB / 110.6 MB, free: 9.379 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001336/0.001336, allocations: 161.1 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.472/1.472, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001745/0.001745, allocations: 103.4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 12 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 61.53 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/0.6619, allocations: 93.58 MB / 0.6034 GB, free: 13.65 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.6623, allocations: 83 kB / 0.6034 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009957/0.6723, allocations: 3.5 MB / 0.6069 GB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6724, allocations: 0 / 0.6069 GB, free: 10.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.6724, allocations: 0 / 0.6069 GB, free: 10.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003859/0.6728, allocations: 343.2 kB / 0.6072 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6728, allocations: 11.98 kB / 0.6072 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.6729, allocations: 4 kB / 0.6072 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.673, allocations: 159.1 kB / 0.6074 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.6731, allocations: 0 / 0.6074 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.6731, allocations: 0 / 0.6074 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.6732, allocations: 37.09 kB / 0.6074 GB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6733, allocations: 4 kB / 0.6074 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.6733, allocations: 3.984 kB / 0.6074 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6733, allocations: 3.938 kB / 0.6074 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.6733, allocations: 3.984 kB / 0.6074 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.6735, allocations: 141.7 kB / 0.6075 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.6736, allocations: 18.61 kB / 0.6076 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.6741, allocations: 429.1 kB / 0.608 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.6741, allocations: 33.75 kB / 0.608 GB, free: 9.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.6741, allocations: 0 / 0.608 GB, free: 9.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.6743, allocations: 41.58 kB / 0.608 GB, free: 9.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.6744, allocations: 51.41 kB / 0.6081 GB, free: 9.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.6744, allocations: 89.12 kB / 0.6082 GB, free: 9.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.6744, allocations: 29.7 kB / 0.6082 GB, free: 8.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.6745, allocations: 84.08 kB / 0.6083 GB, free: 8.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.6745, allocations: 0 / 0.6083 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6745, allocations: 0 / 0.6083 GB, free: 8.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6747, allocations: 314.7 kB / 0.6086 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-06/0.6747, allocations: 0 / 0.6086 GB, free: 8.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.6747, allocations: 4 kB / 0.6086 GB, free: 8.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.6747, allocations: 4.062 kB / 0.6086 GB, free: 8.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6747, allocations: 0 / 0.6086 GB, free: 8.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.04e-05/0.6748, allocations: 37.62 kB / 0.6086 GB, free: 8.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6748, allocations: 8 kB / 0.6086 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6748, allocations: 3.938 kB / 0.6086 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6748, allocations: 4 kB / 0.6086 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.6749, allocations: 0 / 0.6086 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6749, allocations: 4.656 kB / 0.6086 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-06/0.6749, allocations: 4 kB / 0.6086 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.6749, allocations: 0 / 0.6086 GB, free: 8.508 MB / 410.7 MB 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 (1): * Single equations (assignments): 1 * 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 9.193e-05/0.675, allocations: 109.9 kB / 0.6088 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.6751, allocations: 4.438 kB / 0.6088 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.6752, allocations: 44.77 kB / 0.6088 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6752, allocations: 0 / 0.6088 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6752, allocations: 3.938 kB / 0.6088 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6752, allocations: 3.953 kB / 0.6088 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.6753, allocations: 141.7 kB / 0.6089 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.6754, allocations: 0 / 0.6089 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.6754, allocations: 12.02 kB / 0.609 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.6754, allocations: 0 / 0.609 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.6754, allocations: 0 / 0.609 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6754, allocations: 3.984 kB / 0.609 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6754, allocations: 0 / 0.609 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.245e-05/0.6755, allocations: 64.44 kB / 0.609 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.6756, allocations: 77.11 kB / 0.6091 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.6756, allocations: 3.984 kB / 0.6091 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.6756, allocations: 4.031 kB / 0.6091 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.6756, allocations: 0 / 0.6091 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.6756, allocations: 4 kB / 0.6091 GB, free: 7.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.759e-05/0.6757, allocations: 79.16 kB / 0.6092 GB, free: 7.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6757, allocations: 0 / 0.6092 GB, free: 7.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.6759, allocations: 12 kB / 0.6092 GB, free: 7.863 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002115/0.6761, allocations: 115.1 kB / 0.6093 GB, free: 7.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.142e-05/0.6762, allocations: 11.98 kB / 0.6093 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6762, allocations: 0 / 0.6093 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.6762, allocations: 4 kB / 0.6093 GB, free: 7.727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.6763, allocations: 7.891 kB / 0.6093 GB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.6765, allocations: 75.2 kB / 0.6094 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.6768, allocations: 0.677 MB / 0.6101 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.6768, allocations: 0 / 0.6101 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.6768, allocations: 10.62 kB / 0.6101 GB, free: 6.906 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6768, allocations: 8 kB / 0.6101 GB, free: 6.898 MB / 410.7 MB Notification: Performance of Templates: time 0.002378/0.6792, allocations: 413 kB / 0.6105 GB, free: 6.508 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)