Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001001, allocations: 176.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 91.48 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.97e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6438, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.8651, allocations: 138.1 MB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.8654, allocations: 71.95 kB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.8817, allocations: 3.991 MB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8817, allocations: 0 / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8818, allocations: 0 / 1.112 GB, free: 8.02 MB / 0.7136 GB 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.0002983/0.8821, allocations: 339.8 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.8821, allocations: 12.03 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.8822, allocations: 0.5938 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.8823, allocations: 169.9 kB / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.8824, allocations: 0.8438 kB / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.8824, allocations: 0 / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.1e-05/0.8825, allocations: 8.531 kB / 1.113 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.322e-05/0.8825, allocations: 27.17 kB / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8825, allocations: 0 / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.8826, allocations: 0 / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8826, allocations: 0 / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.8828, allocations: 130.2 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.8828, allocations: 28.36 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.8829, allocations: 8.844 kB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.8835, allocations: 427 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.8836, allocations: 36.09 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.8836, allocations: 0 / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001847/0.8838, allocations: 30.98 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.8838, allocations: 55.41 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.791e-05/0.8839, allocations: 85 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.8839, allocations: 26.77 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.884, allocations: 80.14 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.884, allocations: 0.875 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.884, allocations: 0 / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8841, allocations: 312.3 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.8842, allocations: 0 / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.8842, allocations: 4 kB / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.8842, allocations: 9.234 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8843, allocations: 0 / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001198/0.8844, allocations: 33.64 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8844, allocations: 16.08 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.8844, allocations: 0 / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8845, allocations: 3.938 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.8845, allocations: 0 / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8845, allocations: 8.297 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.8846, allocations: 3.906 kB / 1.114 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.8846, allocations: 0 / 1.114 GB, free: 5.938 MB / 0.7136 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 () * 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 6.979e-05/0.8847, allocations: 101 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.8847, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.8848, allocations: 49.39 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.8848, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.8848, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.8848, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.608e-05/0.8849, allocations: 122.2 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8849, allocations: 3.984 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.8849, allocations: 7.938 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8849, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.885, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.885, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.885, allocations: 11.73 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.8851, allocations: 57.14 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.8852, allocations: 81.09 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.8852, allocations: 0 / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.8852, allocations: 3.125 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.8852, allocations: 0 / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.8852, allocations: 3.953 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.8853, allocations: 83.31 kB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8853, allocations: 0 / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003262/0.8856, allocations: 15.94 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB 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 () * 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.0002077/0.8859, allocations: 115.2 kB / 1.115 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.923e-05/0.8859, allocations: 3.938 kB / 1.115 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.886, allocations: 4 kB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.886, allocations: 4 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.8861, allocations: 6.438 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001547/0.8863, allocations: 47.95 kB / 1.115 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.8866, allocations: 0.6768 MB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.8866, allocations: 0 / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.8866, allocations: 7.438 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.8866, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of Templates: time 0.002817/0.8895, allocations: 420.9 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)