Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 191.7 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9117/0.9117, allocations: 145.2 MB / 451.3 MB, free: 5.961 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.98 kB / 0.6253 GB, free: 15.76 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 86.64 MB / 0.7099 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003108/0.1662, allocations: 1.832 MB / 0.7117 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1672, allocations: 0.5494 MB / 0.7122 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.1673, allocations: 3.938 kB / 0.7122 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1674, allocations: 27.73 kB / 0.7122 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.1675, allocations: 23.73 kB / 0.7123 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1677, allocations: 71.86 kB / 0.7123 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.168, allocations: 179.4 kB / 0.7125 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1681, allocations: 33.66 kB / 0.7125 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.439e-05/0.1682, allocations: 51.78 kB / 0.7126 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.1683, allocations: 63.58 kB / 0.7126 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1683, allocations: 8 kB / 0.7127 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.1684, allocations: 12 kB / 0.7127 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.1684, allocations: 23.92 kB / 0.7127 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.1685, allocations: 67.59 kB / 0.7128 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1687, allocations: 143.2 kB / 0.7129 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1687, allocations: 7.984 kB / 0.7129 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1687, allocations: 0 / 0.7129 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1687, allocations: 0 / 0.7129 GB, free: 5.953 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008027/0.1695, allocations: 0.4962 MB / 0.7134 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1695, allocations: 12.03 kB / 0.7134 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.1696, allocations: 16.84 kB / 0.7134 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.1699, allocations: 236 kB / 0.7136 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1699, allocations: 8.375 kB / 0.7136 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.17, allocations: 12.38 kB / 0.7137 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1703, allocations: 155.2 kB / 0.7138 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1703, allocations: 7.984 kB / 0.7138 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1703, allocations: 4 kB / 0.7138 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1703, allocations: 0 / 0.7138 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.1706, allocations: 79.78 kB / 0.7139 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009581/0.1715, allocations: 0.7395 MB / 0.7146 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1717, allocations: 46.53 kB / 0.7147 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1718, allocations: 28.84 kB / 0.7147 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1718, allocations: 4 kB / 0.7147 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.1721, allocations: 130.7 kB / 0.7148 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1721, allocations: 0 / 0.7148 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0004932/0.1725, allocations: 161.6 kB / 0.715 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.1726, allocations: 136.5 kB / 0.7151 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1728, allocations: 203.6 kB / 0.7153 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1729, allocations: 33.7 kB / 0.7153 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.173, allocations: 132 kB / 0.7154 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.173, allocations: 35.7 kB / 0.7155 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.1731, allocations: 41.7 kB / 0.7155 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1732, allocations: 334.9 kB / 0.7158 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1734, allocations: 35.97 kB / 0.7159 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1736, allocations: 144.2 kB / 0.716 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.1739, allocations: 202.3 kB / 0.7162 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1739, allocations: 4 kB / 0.7162 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004142/0.1743, allocations: 209.1 kB / 0.7164 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1743, allocations: 8 kB / 0.7164 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1744, allocations: 4 kB / 0.7164 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1744, allocations: 4 kB / 0.7164 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1745, allocations: 36.41 kB / 0.7165 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1745, allocations: 8 kB / 0.7165 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.1747, allocations: 28.12 kB / 0.7165 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1747, allocations: 8 kB / 0.7165 GB, free: 1.863 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001284/0.1748, allocations: 142.5 kB / 0.7166 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1748, allocations: 19.91 kB / 0.7167 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.1749, allocations: 21.39 kB / 0.7167 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1749, allocations: 4 kB / 0.7167 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1749, allocations: 4 kB / 0.7167 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1749, allocations: 0 / 0.7167 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.1757, allocations: 0.5175 MB / 0.7172 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1757, allocations: 48 / 0.7172 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1758, allocations: 19.97 kB / 0.7172 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1758, allocations: 0 / 0.7172 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1758, allocations: 15.98 kB / 0.7172 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1758, allocations: 0 / 0.7172 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.1758, allocations: 7.938 kB / 0.7172 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.1764, allocations: 360.2 kB / 0.7176 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1764, allocations: 89.02 kB / 0.7177 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1765, allocations: 7.938 kB / 0.7177 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.1766, allocations: 16.03 kB / 0.7177 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1767, allocations: 11.92 kB / 0.7177 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1767, allocations: 11.98 kB / 0.7177 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001245/0.1768, allocations: 135.2 kB / 0.7178 GB, free: 396 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1768, allocations: 0 / 0.7178 GB, free: 396 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003314/0.1772, allocations: 35.94 kB / 0.7179 GB, free: 360 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00012/0.1773, allocations: 107.2 kB / 0.718 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1776, allocations: 108.4 kB / 0.7181 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1776, allocations: 4.312 kB / 0.7181 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1778, allocations: 47.91 kB / 0.7181 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.1783, allocations: 77.81 kB / 0.7182 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.179, allocations: 371.9 kB / 0.7186 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1794, allocations: 0.7242 MB / 0.7193 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.533e-05/0.1794, allocations: 13.55 kB / 0.7193 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1795, allocations: 27.38 kB / 0.7193 GB, free: 14.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1795, allocations: 0 / 0.7193 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Templates: time 0.005425/0.1849, allocations: 2.077 MB / 0.7213 GB, free: 12.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.334193184971809] Failed to read output from testmodel.py, exit status != 0: 0.1920709148980677 0.207655272 0.035917277000000004 Calling exit ...