Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001069/0.001068, allocations: 172.9 kB / 361.4 MB, free: 6.848 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.665/1.665, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008181/0.0008181, allocations: 97.7 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.966e-05, allocations: 8 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7457, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.9437, allocations: 137.8 MB / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.944, allocations: 76.48 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.9569, allocations: 4.295 MB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.957, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.957, allocations: 0 / 1.103 GB, free: 13.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004551/0.9575, allocations: 368.7 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9575, allocations: 8.688 kB / 1.104 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.9576, allocations: 12.94 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.9578, allocations: 167.5 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.9578, allocations: 0.875 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.9578, allocations: 4 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.802e-05/0.9579, allocations: 8 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.958, allocations: 36.28 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.958, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.958, allocations: 4 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.958, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.9584, allocations: 252.3 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.9585, allocations: 22.52 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.9585, allocations: 12.92 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.9592, allocations: 461 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.9592, allocations: 39.31 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9592, allocations: 0 / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001813/0.9594, allocations: 37.7 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.9595, allocations: 55.41 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/0.9596, allocations: 95.11 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.9596, allocations: 25.7 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.9596, allocations: 88.14 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.9597, allocations: 3.906 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.9597, allocations: 5.906 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9598, allocations: 314.8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.9598, allocations: 4 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.9598, allocations: 11.94 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.9599, allocations: 11.94 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9599, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.851e-05/0.96, allocations: 41.61 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.96, allocations: 8.781 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.96, allocations: 8.031 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.96, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.9601, allocations: 11.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9601, allocations: 1.484 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.9602, allocations: 11.98 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9602, allocations: 3.984 kB / 1.105 GB, free: 11.32 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 (2): * Single equations (assignments): 2 * 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 8.028e-05/0.9603, allocations: 104.9 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.9604, allocations: 8 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.9605, allocations: 49.59 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9605, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.9605, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.9605, allocations: 4 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.9606, allocations: 141.1 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9607, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.9607, allocations: 15.98 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.9607, allocations: 7.984 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.9608, allocations: 2.062 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9608, allocations: 0 / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9608, allocations: 4 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.9609, allocations: 139.5 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.961, allocations: 77.11 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.961, allocations: 3.953 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.9611, allocations: 12.02 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.9611, allocations: 7.938 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.9611, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.9612, allocations: 87.27 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9612, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002393/0.9614, allocations: 16 kB / 1.106 GB, free: 10.58 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 (2): * Single equations (assignments): 2 * 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.0002073/0.9616, allocations: 111 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.9617, allocations: 16 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9618, allocations: 4.062 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.9618, allocations: 8 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.962, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.9622, allocations: 67.22 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.9626, allocations: 0.6853 MB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.9626, allocations: 4 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.9626, allocations: 7.438 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9626, allocations: 4.062 kB / 1.107 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of Templates: time 0.002628/0.9653, allocations: 0.5847 MB / 1.107 GB, free: 9.078 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)