Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008792/0.0008791, allocations: 172.3 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4492/0.4492, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 348.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007627/0.0007627, allocations: 90.55 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006069/0.0006072, allocations: 16 kB / 0.4901 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4027, allocations: 71.02 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.5382, allocations: 100.8 MB / 0.6579 GB, free: 8.727 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5385, allocations: 76.89 kB / 0.6579 GB, free: 8.652 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.5505, allocations: 4.358 MB / 0.6622 GB, free: 4.297 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5505, allocations: 0 / 0.6622 GB, free: 4.297 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.5506, allocations: 0 / 0.6622 GB, free: 4.297 MB / 474.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.0003736/0.5509, allocations: 379.3 kB / 0.6625 GB, free: 3.875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.551, allocations: 12.03 kB / 0.6626 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.551, allocations: 0.9375 kB / 0.6626 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5512, allocations: 168.3 kB / 0.6627 GB, free: 3.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5512, allocations: 4.375 kB / 0.6627 GB, free: 3.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5512, allocations: 384 / 0.6627 GB, free: 3.656 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.5514, allocations: 66.17 kB / 0.6628 GB, free: 3.586 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5514, allocations: 192 / 0.6628 GB, free: 3.586 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5514, allocations: 3.938 kB / 0.6628 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5514, allocations: 0 / 0.6628 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.5516, allocations: 43.97 kB / 0.6628 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.5519, allocations: 269 kB / 0.6631 GB, free: 3.227 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5521, allocations: 50.42 kB / 0.6631 GB, free: 3.168 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.5522, allocations: 32.91 kB / 0.6632 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/0.5527, allocations: 461.5 kB / 0.6636 GB, free: 2.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5527, allocations: 30.56 kB / 0.6636 GB, free: 2.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.5527, allocations: 0 / 0.6636 GB, free: 2.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.5531, allocations: 105.6 kB / 0.6637 GB, free: 2.441 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.5531, allocations: 51.41 kB / 0.6638 GB, free: 2.379 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.5532, allocations: 105.8 kB / 0.6639 GB, free: 2.266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.5532, allocations: 25.7 kB / 0.6639 GB, free: 2.234 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.5532, allocations: 84.14 kB / 0.664 GB, free: 2.148 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.5533, allocations: 7.844 kB / 0.664 GB, free: 2.141 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5533, allocations: 0 / 0.664 GB, free: 2.141 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.5534, allocations: 326.9 kB / 0.6643 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.5535, allocations: 15.98 kB / 0.6643 GB, free: 1.797 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.5535, allocations: 27.97 kB / 0.6644 GB, free: 1.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5537, allocations: 48.89 kB / 0.6644 GB, free: 1.719 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5537, allocations: 0 / 0.6644 GB, free: 1.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.5539, allocations: 85.59 kB / 0.6645 GB, free: 1.629 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5539, allocations: 4 kB / 0.6645 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5539, allocations: 0 / 0.6645 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.5539, allocations: 0 / 0.6645 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.554, allocations: 11.98 kB / 0.6645 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.554, allocations: 3.938 kB / 0.6645 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.5541, allocations: 12.03 kB / 0.6645 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.5541, allocations: 0 / 0.6645 GB, free: 1.598 MB / 474.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 () * Number of clocked 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.734e-05/0.5542, allocations: 121.8 kB / 0.6646 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.5542, allocations: 3.906 kB / 0.6646 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.5544, allocations: 85.19 kB / 0.6647 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5544, allocations: 0 / 0.6647 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5545, allocations: 4 kB / 0.6647 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5545, allocations: 3.938 kB / 0.6647 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.5546, allocations: 161.6 kB / 0.6649 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5546, allocations: 0 / 0.6649 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.5547, allocations: 8 kB / 0.6649 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5547, allocations: 3.984 kB / 0.6649 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5547, allocations: 4 kB / 0.6649 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5547, allocations: 4.031 kB / 0.6649 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5547, allocations: 4.188 kB / 0.6649 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.555, allocations: 171.5 kB / 0.6651 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.555, allocations: 89.05 kB / 0.6651 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.555, allocations: 4 kB / 0.6651 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.5551, allocations: 11.92 kB / 0.6652 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.5551, allocations: 4 kB / 0.6652 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.5551, allocations: 3.984 kB / 0.6652 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.5552, allocations: 83.28 kB / 0.6652 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5552, allocations: 0 / 0.6652 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.5554, allocations: 19.98 kB / 0.6653 GB, free: 0.7109 MB / 474.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 () * Number of clocked 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.0001411/0.5555, allocations: 115.2 kB / 0.6654 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.5557, allocations: 51.89 kB / 0.6654 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5558, allocations: 0 / 0.6654 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.5558, allocations: 28.05 kB / 0.6655 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.5561, allocations: 7.938 kB / 0.6655 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.5563, allocations: 112.7 kB / 0.6656 GB, free: 376 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5566, allocations: 0.6731 MB / 0.6662 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.635e-05/0.5566, allocations: 12.05 kB / 0.6662 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.5567, allocations: 7.438 kB / 0.6662 GB, free: 15.65 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5567, allocations: 0 / 0.6662 GB, free: 15.65 MB / 490.7 MB Notification: Performance of Templates: time 0.002369/0.559, allocations: 0.6145 MB / 0.6668 GB, free: 15.04 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)