Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.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.001556/0.001556, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001591/0.001591, allocations: 215.7 kB / 22.99 MB, free: 4.945 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002474/0.002474, allocations: 295.5 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002891/0.002891, allocations: 109.8 kB / 0.7407 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1707, allocations: 95.37 MB / 0.8339 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003086/0.1738, allocations: 1.806 MB / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1749, allocations: 0.5609 MB / 0.8362 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.175, allocations: 3.938 kB / 0.8362 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1751, allocations: 27.73 kB / 0.8362 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.1752, allocations: 19.73 kB / 0.8362 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1754, allocations: 71.84 kB / 0.8363 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1757, allocations: 167.5 kB / 0.8365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1758, allocations: 37.78 kB / 0.8365 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1759, allocations: 59.66 kB / 0.8366 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.176, allocations: 55.69 kB / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.176, allocations: 12 kB / 0.8366 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.176, allocations: 8 kB / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.176, allocations: 31.86 kB / 0.8367 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.1761, allocations: 47.73 kB / 0.8367 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1763, allocations: 143.2 kB / 0.8368 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1763, allocations: 0 / 0.8368 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1763, allocations: 0 / 0.8368 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1763, allocations: 0 / 0.8368 GB, free: 4.746 MB / 0.5762 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.0007198/0.177, allocations: 431.2 kB / 0.8372 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1771, allocations: 9.344 kB / 0.8373 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1771, allocations: 28.78 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1774, allocations: 170.2 kB / 0.8374 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1774, allocations: 8.375 kB / 0.8375 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1775, allocations: 12.38 kB / 0.8375 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1778, allocations: 150.2 kB / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1778, allocations: 0 / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1778, allocations: 8 kB / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1778, allocations: 0 / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.178, allocations: 71.88 kB / 0.8377 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.1789, allocations: 0.6572 MB / 0.8383 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.179, allocations: 42.56 kB / 0.8384 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1791, allocations: 40.77 kB / 0.8384 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1791, allocations: 0 / 0.8384 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1794, allocations: 122.7 kB / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1794, allocations: 0 / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004879/0.1799, allocations: 177.5 kB / 0.8387 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.1799, allocations: 128.5 kB / 0.8388 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1801, allocations: 193.3 kB / 0.839 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1801, allocations: 25.7 kB / 0.839 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.1802, allocations: 136 kB / 0.8392 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1803, allocations: 35.73 kB / 0.8392 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.1803, allocations: 45.64 kB / 0.8392 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1805, allocations: 326.8 kB / 0.8395 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1806, allocations: 44.22 kB / 0.8396 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1808, allocations: 144.9 kB / 0.8397 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.1811, allocations: 210.2 kB / 0.8399 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1811, allocations: 0 / 0.8399 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003932/0.1815, allocations: 205.2 kB / 0.8401 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1815, allocations: 8 kB / 0.8401 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1815, allocations: 4 kB / 0.8401 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1816, allocations: 4 kB / 0.8401 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1817, allocations: 36.42 kB / 0.8402 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1817, allocations: 11.92 kB / 0.8402 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1818, allocations: 23.94 kB / 0.8402 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1818, allocations: 8 kB / 0.8402 GB, free: 0.9492 MB / 0.5762 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.000119/0.182, allocations: 141 kB / 0.8403 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.182, allocations: 19.91 kB / 0.8404 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.182, allocations: 17.39 kB / 0.8404 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.182, allocations: 4 kB / 0.8404 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1821, allocations: 0 / 0.8404 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1821, allocations: 0 / 0.8404 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.1828, allocations: 461.2 kB / 0.8408 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1828, allocations: 0 / 0.8408 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1829, allocations: 19.92 kB / 0.8408 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1829, allocations: 4 kB / 0.8409 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1829, allocations: 4 kB / 0.8409 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1829, allocations: 4 kB / 0.8409 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1829, allocations: 3.984 kB / 0.8409 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.1834, allocations: 372.2 kB / 0.8412 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.1835, allocations: 15.84 kB / 0.8412 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1835, allocations: 8.031 kB / 0.8412 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1837, allocations: 11.98 kB / 0.8413 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1837, allocations: 19.92 kB / 0.8413 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1837, allocations: 4.375 kB / 0.8413 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001104/0.1838, allocations: 136.3 kB / 0.8414 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1838, allocations: 4 kB / 0.8414 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003187/0.1842, allocations: 24 kB / 0.8414 GB, free: 15.63 MB / 0.5919 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.0001167/0.1843, allocations: 99.25 kB / 0.8415 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1846, allocations: 116.4 kB / 0.8416 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1846, allocations: 4.25 kB / 0.8416 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1847, allocations: 64.05 kB / 0.8417 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.1853, allocations: 65.89 kB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.1859, allocations: 382.1 kB / 0.8421 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.186, allocations: 116.2 kB / 0.8422 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.186, allocations: 15.44 kB / 0.8423 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.186, allocations: 0 / 0.8423 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of Templates: time 0.003929/0.19, allocations: 2.14 MB / 0.8443 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.278780630324036] Failed to read output from testmodel.py, exit status != 0: 0.19722941936925054 0.21175963 0.032576038 Calling exit ...