Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.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.535/1.535, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001017/0.001017, allocations: 176.9 kB / 366.7 MB, free: 1.66 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.536/1.536, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.001034/0.001035, allocations: 93.52 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.093e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6543/0.6544, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.832, allocations: 138.8 MB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.8323, allocations: 71.95 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.8445, allocations: 4.3 MB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8446, allocations: 0 / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8446, allocations: 0 / 1.113 GB, free: 7.066 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.0003938/0.845, allocations: 372.7 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.845, allocations: 12.03 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.8451, allocations: 3.906 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8452, allocations: 176.2 kB / 1.114 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.8452, allocations: 2.719 kB / 1.114 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.8453, allocations: 0 / 1.114 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.663e-05/0.8453, allocations: 15.16 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.218e-05/0.8454, allocations: 41.62 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.8454, allocations: 0 / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.8454, allocations: 0 / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8454, allocations: 0 / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.8458, allocations: 246.3 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.8459, allocations: 27.92 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.8459, allocations: 13.92 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005883/0.8465, allocations: 461.5 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.8466, allocations: 34.5 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8466, allocations: 0 / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001657/0.8467, allocations: 45.69 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.8468, allocations: 55.41 kB / 1.115 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.8469, allocations: 93 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.8469, allocations: 25.7 kB / 1.115 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.8469, allocations: 84.14 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.847, allocations: 7.906 kB / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.847, allocations: 0 / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8471, allocations: 314.8 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.8471, allocations: 12.03 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.8471, allocations: 4 kB / 1.115 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.8471, allocations: 7.953 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8472, allocations: 4 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.702e-05/0.8472, allocations: 45.55 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8473, allocations: 8 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8473, allocations: 3.938 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8473, allocations: 0 / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.8474, allocations: 18.42 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.8474, allocations: 0 / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.8475, allocations: 11.98 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.8475, allocations: 0 / 1.115 GB, free: 4.688 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 6.572e-05/0.8475, allocations: 104.9 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.8476, allocations: 4 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.8477, allocations: 45.66 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8477, allocations: 5.969 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8477, allocations: 0 / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.8477, allocations: 0 / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.8479, allocations: 146.2 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8479, allocations: 0 / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.848, allocations: 15.92 kB / 1.115 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.848, allocations: 3.953 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.848, allocations: 0 / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.848, allocations: 0 / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.848, allocations: 2.422 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.8481, allocations: 143.5 kB / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.8482, allocations: 85.09 kB / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.8482, allocations: 3.953 kB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.8483, allocations: 4 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.8483, allocations: 11.48 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.8483, allocations: 4.031 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.8484, allocations: 83.28 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8484, allocations: 0 / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002084/0.8486, allocations: 17.22 kB / 1.116 GB, free: 3.941 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.0001592/0.8487, allocations: 115.2 kB / 1.116 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.053e-05/0.8488, allocations: 15.94 kB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8488, allocations: 4 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.8489, allocations: 4 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.849, allocations: 9.531 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.8492, allocations: 59.94 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.8494, allocations: 0.6775 MB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.8495, allocations: 4 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.8495, allocations: 7.438 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8495, allocations: 0.75 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.002247/0.8518, allocations: 0.5804 MB / 1.117 GB, free: 2.438 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)