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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 178 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6714/0.6714, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 8.906 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.000596/0.1322, allocations: 295.1 kB / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.1324, allocations: 55.77 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.1325, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.1325, allocations: 4 kB / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.1325, allocations: 0 / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1327, allocations: 19.91 kB / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.005e-05/0.1327, allocations: 0 / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.1327, allocations: 0 / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.182e-05/0.1328, allocations: 0 / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.1328, allocations: 4 kB / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1328, allocations: 0 / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.1329, allocations: 15.98 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.1329, allocations: 3.984 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1329, allocations: 33.64 kB / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.236e-05/0.133, allocations: 8 kB / 0.5573 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.133, allocations: 0 / 0.5573 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.133, allocations: 0 / 0.5573 GB, free: 11.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.133, allocations: 0 / 0.5573 GB, free: 11.15 MB / 430.1 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.0002045/0.1332, allocations: 315.4 kB / 0.5576 GB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1333, allocations: 16.08 kB / 0.5576 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.1335, allocations: 19.97 kB / 0.5576 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.1336, allocations: 163.1 kB / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1336, allocations: 0 / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1336, allocations: 0 / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1337, allocations: 33.69 kB / 0.5578 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1338, allocations: 7.938 kB / 0.5578 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1338, allocations: 0 / 0.5578 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1338, allocations: 0 / 0.5578 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.1339, allocations: 11.98 kB / 0.5578 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.134, allocations: 157.6 kB / 0.558 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.1341, allocations: 22.59 kB / 0.558 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1341, allocations: 0 / 0.558 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1341, allocations: 34.62 kB / 0.558 GB, free: 10.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.1341, allocations: 0 / 0.558 GB, free: 10.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000218/0.1343, allocations: 57.52 kB / 0.5581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1344, allocations: 55.41 kB / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.148e-05/0.1344, allocations: 93.84 kB / 0.5582 GB, free: 9.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1344, allocations: 25.7 kB / 0.5582 GB, free: 9.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.1345, allocations: 80.14 kB / 0.5583 GB, free: 9.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1345, allocations: 0 / 0.5583 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.1345, allocations: 0 / 0.5583 GB, free: 9.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1346, allocations: 310.8 kB / 0.5586 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.1346, allocations: 12.12 kB / 0.5586 GB, free: 9.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.1347, allocations: 11.92 kB / 0.5586 GB, free: 9.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.1347, allocations: 4 kB / 0.5586 GB, free: 9.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1348, allocations: 0 / 0.5586 GB, free: 9.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001178/0.1349, allocations: 45.67 kB / 0.5587 GB, free: 9.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1349, allocations: 4 kB / 0.5587 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1349, allocations: 0 / 0.5587 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1349, allocations: 4.094 kB / 0.5587 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.135, allocations: 7.938 kB / 0.5587 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.135, allocations: 3.953 kB / 0.5587 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.1351, allocations: 4 kB / 0.5587 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1351, allocations: 3.984 kB / 0.5587 GB, free: 9.465 MB / 430.1 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 (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.413e-05/0.1351, allocations: 107.7 kB / 0.5588 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.1352, allocations: 0 / 0.5588 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1352, allocations: 3.125 kB / 0.5588 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1352, allocations: 8 kB / 0.5588 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1352, allocations: 0 / 0.5588 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1352, allocations: 3.953 kB / 0.5588 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.366e-05/0.1353, allocations: 149.6 kB / 0.559 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1353, allocations: 0 / 0.559 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.1353, allocations: 4 kB / 0.559 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1354, allocations: 0 / 0.559 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1354, allocations: 0 / 0.559 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1354, allocations: 0 / 0.559 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1354, allocations: 0 / 0.559 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1355, allocations: 83.14 kB / 0.559 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.1356, allocations: 77.11 kB / 0.5591 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1356, allocations: 0 / 0.5591 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.1356, allocations: 7.938 kB / 0.5591 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-06/0.1356, allocations: 0 / 0.5591 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1356, allocations: 7.984 kB / 0.5591 GB, free: 8.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.982e-05/0.1357, allocations: 79.31 kB / 0.5592 GB, free: 8.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1357, allocations: 0 / 0.5592 GB, free: 8.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.1359, allocations: 4 kB / 0.5592 GB, free: 8.848 MB / 430.1 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 (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.0001064/0.136, allocations: 95.94 kB / 0.5593 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1361, allocations: 11.98 kB / 0.5593 GB, free: 8.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1361, allocations: 0 / 0.5593 GB, free: 8.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.1362, allocations: 8.062 kB / 0.5593 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.124e-05/0.1362, allocations: 8.234 kB / 0.5593 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.1365, allocations: 92.47 kB / 0.5594 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.1366, allocations: 0.6731 MB / 0.5601 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.1367, allocations: 8.062 kB / 0.5601 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.1367, allocations: 11.38 kB / 0.5601 GB, free: 7.883 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1367, allocations: 0 / 0.5601 GB, free: 7.883 MB / 430.1 MB Notification: Performance of Templates: time 0.00174/0.1385, allocations: 203.4 kB / 0.5603 GB, free: 7.688 MB / 430.1 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)