Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4966/0.4966, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.26/1.26, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008375, allocations: 103.5 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.166e-05, allocations: 8 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3556, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4751, allocations: 100.7 MB / 0.6586 GB, free: 3.598 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4754, allocations: 72.86 kB / 0.6587 GB, free: 3.527 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001429/0.4769, allocations: 0.5428 MB / 0.6592 GB, free: 2.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4769, allocations: 0 / 0.6592 GB, free: 2.988 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4769, allocations: 4 kB / 0.6592 GB, free: 2.984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002521/0.4772, allocations: 310.4 kB / 0.6595 GB, free: 2.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4772, allocations: 16.05 kB / 0.6595 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.4774, allocations: 19.92 kB / 0.6595 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.4775, allocations: 159.1 kB / 0.6597 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4775, allocations: 0 / 0.6597 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.4776, allocations: 0 / 0.6597 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.4777, allocations: 37.69 kB / 0.6597 GB, free: 2.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4777, allocations: 4 kB / 0.6597 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4777, allocations: 3.938 kB / 0.6597 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.4777, allocations: 3.938 kB / 0.6597 GB, free: 2.352 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.4778, allocations: 3.953 kB / 0.6597 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.4779, allocations: 149.7 kB / 0.6599 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.4779, allocations: 17.98 kB / 0.6599 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.478, allocations: 12.95 kB / 0.6599 GB, free: 2.113 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.478, allocations: 4 kB / 0.6599 GB, free: 2.109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.478, allocations: 30.56 kB / 0.6599 GB, free: 2.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.478, allocations: 0 / 0.6599 GB, free: 2.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.4782, allocations: 33.64 kB / 0.66 GB, free: 2.031 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4782, allocations: 51.97 kB / 0.66 GB, free: 1.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.24e-05/0.4783, allocations: 88.98 kB / 0.6601 GB, free: 1.875 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4783, allocations: 25.7 kB / 0.6601 GB, free: 1.844 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.4783, allocations: 84.14 kB / 0.6602 GB, free: 1.758 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4784, allocations: 7.938 kB / 0.6602 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4784, allocations: 0 / 0.6602 GB, free: 1.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4785, allocations: 321.3 kB / 0.6605 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.4785, allocations: 0 / 0.6605 GB, free: 1.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.4785, allocations: 4 kB / 0.6605 GB, free: 1.426 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.4785, allocations: 0 / 0.6605 GB, free: 1.426 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4785, allocations: 0 / 0.6605 GB, free: 1.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.525e-05/0.4786, allocations: 41.62 kB / 0.6606 GB, free: 1.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4786, allocations: 8.094 kB / 0.6606 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4786, allocations: 0 / 0.6606 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4787, allocations: 0 / 0.6606 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.4787, allocations: 4 kB / 0.6606 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4788, allocations: 0 / 0.6606 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.4788, allocations: 0 / 0.6606 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4788, allocations: 3.984 kB / 0.6606 GB, free: 1.363 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 () * 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 6.181e-05/0.4789, allocations: 108.9 kB / 0.6607 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.4789, allocations: 0 / 0.6607 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.4789, allocations: 7.125 kB / 0.6607 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4789, allocations: 0 / 0.6607 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4789, allocations: 0 / 0.6607 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4789, allocations: 0 / 0.6607 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.598e-05/0.479, allocations: 161.4 kB / 0.6608 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4791, allocations: 0 / 0.6608 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.4791, allocations: 3.938 kB / 0.6609 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4791, allocations: 4 kB / 0.6609 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4791, allocations: 0 / 0.6609 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4791, allocations: 0 / 0.6609 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4791, allocations: 4 kB / 0.6609 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.4792, allocations: 65.02 kB / 0.6609 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.4793, allocations: 77.95 kB / 0.661 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.4793, allocations: 0 / 0.661 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.4793, allocations: 4 kB / 0.661 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.4794, allocations: 3.984 kB / 0.661 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.4794, allocations: 4 kB / 0.661 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.4794, allocations: 79.31 kB / 0.6611 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4794, allocations: 0 / 0.6611 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.4796, allocations: 0 / 0.6611 GB, free: 0.7617 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 () * 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.0001334/0.4797, allocations: 96.89 kB / 0.6612 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.758e-05/0.4798, allocations: 6.062 kB / 0.6612 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4798, allocations: 0 / 0.6612 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.4798, allocations: 7.938 kB / 0.6612 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.485e-05/0.4799, allocations: 5.172 kB / 0.6612 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.4801, allocations: 56.98 kB / 0.6612 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4804, allocations: 0.6809 MB / 0.6619 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.4805, allocations: 0 / 0.6619 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.4805, allocations: 11.44 kB / 0.6619 GB, free: 15.85 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4805, allocations: 8 kB / 0.6619 GB, free: 15.84 MB / 490.7 MB Notification: Performance of Templates: time 0.001752/0.4823, allocations: 212.4 kB / 0.6621 GB, free: 15.66 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)