Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5152/0.5152, allocations: 94.69 MB / 107.2 MB, free: 5.184 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.001106/0.001106, allocations: 175.5 kB / 130.7 MB, free: 7.551 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.43/1.43, allocations: 170.5 MB / 324.5 MB, free: 4.055 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.001603/0.001603, allocations: 108.3 kB / 386.6 MB, free: 16.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.906e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 61.51 MB / 0.5054 GB, free: 49.35 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5433, allocations: 94.13 MB / 0.5973 GB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5436, allocations: 71.95 kB / 0.5974 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.5546, allocations: 3.801 MB / 0.6011 GB, free: 13.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.5546, allocations: 0 / 0.6011 GB, free: 13.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.5546, allocations: 3.938 kB / 0.6011 GB, free: 13.66 MB / 426.7 MB 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.0003828/0.555, allocations: 363.5 kB / 0.6014 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5551, allocations: 8.031 kB / 0.6014 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.5551, allocations: 8.625 kB / 0.6014 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5553, allocations: 167 kB / 0.6016 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5553, allocations: 0 / 0.6016 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.5553, allocations: 4.516 kB / 0.6016 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.5555, allocations: 37.66 kB / 0.6016 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5555, allocations: 5.25 kB / 0.6017 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5555, allocations: 7.391 kB / 0.6017 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5555, allocations: 0 / 0.6017 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.5555, allocations: 13.59 kB / 0.6017 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.556, allocations: 264.9 kB / 0.6019 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.5561, allocations: 31.84 kB / 0.602 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.5561, allocations: 12.92 kB / 0.602 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.5567, allocations: 463.2 kB / 0.6024 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5568, allocations: 40.12 kB / 0.6024 GB, free: 12.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5568, allocations: 0 / 0.6024 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.557, allocations: 41.7 kB / 0.6025 GB, free: 11.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.557, allocations: 52.06 kB / 0.6025 GB, free: 11.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.5571, allocations: 96.98 kB / 0.6026 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5571, allocations: 33.02 kB / 0.6027 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.5572, allocations: 83.23 kB / 0.6027 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.5572, allocations: 7.891 kB / 0.6027 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.5572, allocations: 0 / 0.6027 GB, free: 11.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5573, allocations: 318.8 kB / 0.6031 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.5573, allocations: 0 / 0.6031 GB, free: 11.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.5574, allocations: 8 kB / 0.6031 GB, free: 11.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.5574, allocations: 11.97 kB / 0.6031 GB, free: 11.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5574, allocations: 0 / 0.6031 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.74e-05/0.5575, allocations: 53.55 kB / 0.6031 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5575, allocations: 7.938 kB / 0.6031 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.5575, allocations: 4 kB / 0.6031 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5575, allocations: 0 / 0.6031 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.5576, allocations: 11.98 kB / 0.6031 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5577, allocations: 0 / 0.6031 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.5577, allocations: 6.625 kB / 0.6031 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.5577, allocations: 12.73 kB / 0.6032 GB, free: 11.27 MB / 426.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 () * 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 5.929e-05/0.5578, allocations: 104.8 kB / 0.6033 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.5578, allocations: 3.953 kB / 0.6033 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.5579, allocations: 61.36 kB / 0.6033 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.558, allocations: 2.344 kB / 0.6033 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.558, allocations: 0 / 0.6033 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.558, allocations: 0 / 0.6033 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.5582, allocations: 161.7 kB / 0.6035 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5582, allocations: 6.672 kB / 0.6035 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.5582, allocations: 8 kB / 0.6035 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5582, allocations: 0 / 0.6035 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5583, allocations: 3.953 kB / 0.6035 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5583, allocations: 4.031 kB / 0.6035 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5583, allocations: 4 kB / 0.6035 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5584, allocations: 139.5 kB / 0.6036 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.5585, allocations: 81.02 kB / 0.6037 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5585, allocations: 0 / 0.6037 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.5586, allocations: 15.94 kB / 0.6037 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.5586, allocations: 10.09 kB / 0.6037 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5586, allocations: 0 / 0.6037 GB, free: 10.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.5587, allocations: 87.27 kB / 0.6038 GB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5587, allocations: 0 / 0.6038 GB, free: 10.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.5589, allocations: 19.94 kB / 0.6038 GB, free: 10.48 MB / 426.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 () * 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.0001603/0.5591, allocations: 111.2 kB / 0.6039 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.5591, allocations: 12 kB / 0.604 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5592, allocations: 0 / 0.604 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.5592, allocations: 12 kB / 0.604 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.5594, allocations: 11.98 kB / 0.604 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.5596, allocations: 62.91 kB / 0.604 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5598, allocations: 0.6809 MB / 0.6047 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.558e-05/0.5599, allocations: 4 kB / 0.6047 GB, free: 9.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.5599, allocations: 7.438 kB / 0.6047 GB, free: 9.535 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5599, allocations: 0 / 0.6047 GB, free: 9.535 MB / 426.7 MB Notification: Performance of Templates: time 0.002613/0.5625, allocations: 0.6049 MB / 0.6053 GB, free: 8.961 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)