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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 293 MB / 309 MB, free: 4.812 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.0009512/0.0009512, allocations: 172.5 kB / 378.7 MB, free: 1.031 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.455/1.455, allocations: 205.4 MB / 0.6383 GB, free: 9.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.0007121/0.0007121, allocations: 101.4 kB / 0.7527 GB, free: 62.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 116.4 MB / 0.9905 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6369/0.8477, allocations: 139 MB / 1.126 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.8479, allocations: 73.55 kB / 1.126 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00973/0.8577, allocations: 4.036 MB / 1.13 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8577, allocations: 0 / 1.13 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8577, allocations: 0 / 1.13 GB, free: 31.98 MB / 0.7292 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.0002643/0.858, allocations: 350.5 kB / 1.131 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8581, allocations: 8.031 kB / 1.131 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.8581, allocations: 1.688 kB / 1.131 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.578e-05/0.8582, allocations: 164.4 kB / 1.131 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.8582, allocations: 384 / 1.131 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.8582, allocations: 384 / 1.131 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.8583, allocations: 26.27 kB / 1.131 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8583, allocations: 192 / 1.131 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.8584, allocations: 3.938 kB / 1.131 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8584, allocations: 4 kB / 1.131 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.8584, allocations: 11.41 kB / 1.131 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.8585, allocations: 146.2 kB / 1.131 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.39e-05/0.8586, allocations: 18.61 kB / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.8586, allocations: 5.516 kB / 1.131 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.859, allocations: 432.1 kB / 1.131 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.859, allocations: 30.56 kB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.522e-06/0.859, allocations: 0 / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.8592, allocations: 41.58 kB / 1.131 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.8592, allocations: 55.41 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.143e-05/0.8592, allocations: 89.86 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.8592, allocations: 26.36 kB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.336e-05/0.8593, allocations: 87.73 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.8593, allocations: 0.9375 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.8593, allocations: 0 / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.8594, allocations: 310.8 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.8594, allocations: 0 / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-06/0.8594, allocations: 4 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.8594, allocations: 5.422 kB / 1.132 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8594, allocations: 0 / 1.132 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.298e-05/0.8595, allocations: 45.7 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8595, allocations: 7.516 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8595, allocations: 1.172 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8596, allocations: 3.938 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.8596, allocations: 4.562 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.8596, allocations: 3.938 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.8596, allocations: 3.75 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.8597, allocations: 0.625 kB / 1.132 GB, free: 29.86 MB / 0.7292 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 () * 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 4.535e-05/0.8597, allocations: 109.8 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.8597, allocations: 4.031 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.8598, allocations: 49.41 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8598, allocations: 0.5156 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8598, allocations: 0 / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8599, allocations: 0 / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.101e-05/0.8599, allocations: 153.7 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8599, allocations: 0 / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.8599, allocations: 0.8438 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.86, allocations: 2.906 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.86, allocations: 8.531 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.86, allocations: 4 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.86, allocations: 0 / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.8601, allocations: 56.61 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.8601, allocations: 77.11 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8601, allocations: 8.438 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.8601, allocations: 0 / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.8601, allocations: 4.875 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.8602, allocations: 0.5 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.439e-05/0.8602, allocations: 75.28 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8602, allocations: 3.938 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002058/0.8604, allocations: 19.94 kB / 1.133 GB, free: 29.21 MB / 0.7292 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 () * 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.000172/0.8606, allocations: 110.8 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.004e-05/0.8606, allocations: 4 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8606, allocations: 0 / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-06/0.8607, allocations: 8.062 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.8608, allocations: 4.844 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00017/0.861, allocations: 79.02 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.703e-05/0.8611, allocations: 0.6731 MB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.75e-05/0.8611, allocations: 0.5469 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.8612, allocations: 7.438 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.8612, allocations: 0 / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.0023/0.8635, allocations: 428.4 kB / 1.134 GB, free: 28.04 MB / 0.7292 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)