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.001053/0.001054, allocations: 88.17 kB / 15.7 MB, free: 460 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.001488/0.001488, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.369/1.369, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 8 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 77.53 MB / 0.5593 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006039/0.1287, allocations: 303.8 kB / 0.5596 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.1289, allocations: 50.36 kB / 0.5597 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.093e-05/0.1289, allocations: 3.938 kB / 0.5597 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.1289, allocations: 0 / 0.5597 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.149e-06/0.129, allocations: 4 kB / 0.5597 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1291, allocations: 15.97 kB / 0.5597 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.367e-05/0.1292, allocations: 0 / 0.5597 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.1292, allocations: 0 / 0.5597 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.1292, allocations: 3.984 kB / 0.5597 GB, free: 9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.1293, allocations: 4 kB / 0.5597 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.1293, allocations: 0 / 0.5597 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.1294, allocations: 15.98 kB / 0.5597 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-06/0.1294, allocations: 0 / 0.5597 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1294, allocations: 25.7 kB / 0.5597 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.716e-05/0.1295, allocations: 15.98 kB / 0.5598 GB, free: 8.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1295, allocations: 3.938 kB / 0.5598 GB, free: 8.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1295, allocations: 0 / 0.5598 GB, free: 8.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1295, allocations: 0 / 0.5598 GB, free: 8.93 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.0002295/0.1297, allocations: 311.4 kB / 0.5601 GB, free: 8.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1298, allocations: 16.08 kB / 0.5601 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.13, allocations: 15.97 kB / 0.5601 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.1301, allocations: 159.1 kB / 0.5602 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1302, allocations: 7.938 kB / 0.5603 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1302, allocations: 0 / 0.5603 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1303, allocations: 33.69 kB / 0.5603 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1303, allocations: 3.953 kB / 0.5603 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1303, allocations: 0 / 0.5603 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1304, allocations: 4 kB / 0.5603 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.1304, allocations: 7.984 kB / 0.5603 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1306, allocations: 153.7 kB / 0.5604 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.1307, allocations: 22.55 kB / 0.5605 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.1307, allocations: 12.91 kB / 0.5605 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1307, allocations: 0 / 0.5605 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1308, allocations: 30.56 kB / 0.5605 GB, free: 8.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1308, allocations: 0 / 0.5605 GB, free: 8.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002147/0.131, allocations: 57.58 kB / 0.5606 GB, free: 7.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.131, allocations: 59.33 kB / 0.5606 GB, free: 7.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.1311, allocations: 89.86 kB / 0.5607 GB, free: 7.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1311, allocations: 29.7 kB / 0.5607 GB, free: 7.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.1311, allocations: 84.14 kB / 0.5608 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1312, allocations: 3.984 kB / 0.5608 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.1312, allocations: 0 / 0.5608 GB, free: 7.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1313, allocations: 315 kB / 0.5611 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.1313, allocations: 4 kB / 0.5611 GB, free: 7.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.1314, allocations: 7.984 kB / 0.5611 GB, free: 7.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.1314, allocations: 0 / 0.5611 GB, free: 7.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1314, allocations: 4 kB / 0.5611 GB, free: 7.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.1316, allocations: 45.67 kB / 0.5612 GB, free: 7.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1316, allocations: 4.094 kB / 0.5612 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1316, allocations: 4 kB / 0.5612 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1316, allocations: 0 / 0.5612 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.1317, allocations: 7.938 kB / 0.5612 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1317, allocations: 3.953 kB / 0.5612 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.1318, allocations: 11.89 kB / 0.5612 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1318, allocations: 0 / 0.5612 GB, free: 7.234 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.325e-05/0.1318, allocations: 105.8 kB / 0.5613 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.1318, allocations: 0 / 0.5613 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.1319, allocations: 7.125 kB / 0.5613 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1319, allocations: 0 / 0.5613 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1319, allocations: 4 kB / 0.5613 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1319, allocations: 3.953 kB / 0.5613 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.175e-05/0.132, allocations: 149.7 kB / 0.5615 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.132, allocations: 0 / 0.5615 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1321, allocations: 4 kB / 0.5615 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1321, allocations: 7.922 kB / 0.5615 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1321, allocations: 0 / 0.5615 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1321, allocations: 0 / 0.5615 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1321, allocations: 4 kB / 0.5615 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1322, allocations: 73 kB / 0.5616 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.1323, allocations: 77.11 kB / 0.5616 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.1323, allocations: 0 / 0.5616 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.1323, allocations: 4 kB / 0.5616 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.1323, allocations: 15.92 kB / 0.5616 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1324, allocations: 4.031 kB / 0.5617 GB, free: 6.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.1324, allocations: 75.28 kB / 0.5617 GB, free: 6.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 0.5617 GB, free: 6.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.1326, allocations: 0 / 0.5617 GB, free: 6.617 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.0001546/0.1327, allocations: 99.2 kB / 0.5618 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.1329, allocations: 11.98 kB / 0.5618 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1329, allocations: 64 / 0.5618 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.1329, allocations: 8 kB / 0.5618 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1331, allocations: 8.266 kB / 0.5618 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.1333, allocations: 82.69 kB / 0.5619 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.1334, allocations: 0.6692 MB / 0.5626 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.1335, allocations: 4.062 kB / 0.5626 GB, free: 5.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1335, allocations: 11.44 kB / 0.5626 GB, free: 5.664 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1335, allocations: 0 / 0.5626 GB, free: 5.664 MB / 430.1 MB Notification: Performance of Templates: time 0.001687/0.1352, allocations: 214.3 kB / 0.5628 GB, free: 5.457 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)