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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 75.19 kB / 20.51 MB, free: 1.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 169.1 kB / 23.77 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9018/0.9018, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.72 kB / 0.5551 GB, free: 2.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1501, allocations: 89.14 MB / 0.6421 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001776/0.1518, allocations: 0.5864 MB / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002497/0.1521, allocations: 44.22 kB / 0.6428 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.1521, allocations: 0 / 0.6428 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.1521, allocations: 0 / 0.6428 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.1521, allocations: 0 / 0.6428 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1523, allocations: 19.92 kB / 0.6428 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.468e-05/0.1524, allocations: 4 kB / 0.6428 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.1524, allocations: 3.984 kB / 0.6428 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.022e-05/0.1524, allocations: 0 / 0.6428 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.711e-05/0.1524, allocations: 0 / 0.6428 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.1524, allocations: 4 kB / 0.6428 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.1525, allocations: 19.98 kB / 0.6428 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1525, allocations: 7.922 kB / 0.6428 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.202e-05/0.1525, allocations: 0 / 0.6428 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.779e-05/0.1526, allocations: 19.92 kB / 0.6428 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1526, allocations: 0 / 0.6428 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1526, allocations: 0 / 0.6428 GB, free: 8.766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1526, allocations: 0 / 0.6428 GB, free: 8.766 MB / 0.545 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.0002762/0.1529, allocations: 242.4 kB / 0.6431 GB, free: 8.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1529, allocations: 8.031 kB / 0.6431 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.1532, allocations: 24.91 kB / 0.6431 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.1533, allocations: 106.5 kB / 0.6432 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.1533, allocations: 384 / 0.6432 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1533, allocations: 384 / 0.6432 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1534, allocations: 42.17 kB / 0.6432 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1534, allocations: 192 / 0.6432 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1534, allocations: 7.938 kB / 0.6432 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1535, allocations: 0 / 0.6432 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.1535, allocations: 15.98 kB / 0.6433 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.1537, allocations: 97.33 kB / 0.6433 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.1537, allocations: 22.61 kB / 0.6434 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.1538, allocations: 8.844 kB / 0.6434 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1538, allocations: 4.062 kB / 0.6434 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1538, allocations: 34.5 kB / 0.6434 GB, free: 8.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1538, allocations: 0 / 0.6434 GB, free: 8.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002291/0.1541, allocations: 53.7 kB / 0.6435 GB, free: 7.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1541, allocations: 51.41 kB / 0.6435 GB, free: 7.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.384e-05/0.1541, allocations: 89.86 kB / 0.6436 GB, free: 7.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1542, allocations: 25.7 kB / 0.6436 GB, free: 7.801 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1542, allocations: 84.08 kB / 0.6437 GB, free: 7.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1542, allocations: 7.953 kB / 0.6437 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1543, allocations: 13.72 kB / 0.6437 GB, free: 7.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1544, allocations: 310.8 kB / 0.644 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.1544, allocations: 7.984 kB / 0.644 GB, free: 7.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.1545, allocations: 8.031 kB / 0.644 GB, free: 7.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.1546, allocations: 16.78 kB / 0.6441 GB, free: 7.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1546, allocations: 4 kB / 0.6441 GB, free: 7.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001335/0.1547, allocations: 45.67 kB / 0.6441 GB, free: 7.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1547, allocations: 4 kB / 0.6441 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1547, allocations: 0 / 0.6441 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1547, allocations: 0 / 0.6441 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.1548, allocations: 7.938 kB / 0.6441 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1548, allocations: 4.094 kB / 0.6441 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.1548, allocations: 4 kB / 0.6441 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1549, allocations: 3.984 kB / 0.6441 GB, free: 7.262 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.1549, allocations: 105.8 kB / 0.6442 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.1549, allocations: 3.938 kB / 0.6442 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.155, allocations: 7 kB / 0.6442 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.155, allocations: 7.922 kB / 0.6442 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.155, allocations: 3.938 kB / 0.6442 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.155, allocations: 0 / 0.6442 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.614e-05/0.155, allocations: 97.33 kB / 0.6443 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.155, allocations: 0 / 0.6443 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.1551, allocations: 7.984 kB / 0.6443 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1551, allocations: 0 / 0.6443 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1551, allocations: 0 / 0.6443 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1551, allocations: 0 / 0.6443 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.1551, allocations: 7.938 kB / 0.6444 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1553, allocations: 61.12 kB / 0.6444 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.1553, allocations: 11.92 kB / 0.6444 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.1553, allocations: 4.031 kB / 0.6444 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.1553, allocations: 0 / 0.6444 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.1553, allocations: 3.938 kB / 0.6444 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1553, allocations: 4 kB / 0.6444 GB, free: 6.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.1554, allocations: 79.28 kB / 0.6445 GB, free: 6.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1554, allocations: 3.938 kB / 0.6445 GB, free: 6.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001813/0.1555, allocations: 4 kB / 0.6445 GB, free: 6.797 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.1556, allocations: 99.17 kB / 0.6446 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1558, allocations: 15.98 kB / 0.6446 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1558, allocations: 0 / 0.6446 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.1558, allocations: 4 kB / 0.6446 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1559, allocations: 4 kB / 0.6446 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.1562, allocations: 84.86 kB / 0.6447 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.1562, allocations: 59.34 kB / 0.6448 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.1562, allocations: 4.125 kB / 0.6448 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.1563, allocations: 8.5 kB / 0.6448 GB, free: 6.465 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1563, allocations: 0 / 0.6448 GB, free: 6.465 MB / 0.545 GB Notification: Performance of Templates: time 0.002117/0.1584, allocations: 232 kB / 0.645 GB, free: 6.242 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.261020920006558] Failed to read output from testmodel.py, exit status != 0: 0.16633664700202644 0.18035721300000002 0.024771963 Calling exit ...