Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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.001395/0.001395, allocations: 75.05 kB / 20.51 MB, free: 1.281 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.001601/0.001601, allocations: 166.5 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.435/1.435, allocations: 177.2 MB / 204.1 MB, free: 8.965 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.9177/0.9177, allocations: 113.9 MB / 374.5 MB, free: 12.87 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.002202/0.002202, allocations: 70.97 kB / 0.5551 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1731, allocations: 89.15 MB / 0.6421 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002308/0.1754, allocations: 0.8345 MB / 0.643 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1771, allocations: 1.194 MB / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.1772, allocations: 0 / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.1772, allocations: 7.875 kB / 0.6441 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.1773, allocations: 15.86 kB / 0.6441 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.1779, allocations: 154.4 kB / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1781, allocations: 167.6 kB / 0.6445 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1782, allocations: 29.3 kB / 0.6445 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1784, allocations: 67.83 kB / 0.6445 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1785, allocations: 55.73 kB / 0.6446 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.1785, allocations: 16 kB / 0.6446 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.1786, allocations: 27.98 kB / 0.6446 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.1787, allocations: 27.91 kB / 0.6447 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.1788, allocations: 51.78 kB / 0.6447 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.179, allocations: 183.3 kB / 0.6449 GB, free: 6.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.179, allocations: 0 / 0.6449 GB, free: 6.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.179, allocations: 0 / 0.6449 GB, free: 6.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.179, allocations: 0 / 0.6449 GB, free: 6.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008406/0.1799, allocations: 418 kB / 0.6453 GB, free: 6.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1799, allocations: 8.031 kB / 0.6453 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.18, allocations: 12.89 kB / 0.6453 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.1805, allocations: 201 kB / 0.6455 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1806, allocations: 12.36 kB / 0.6455 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.1806, allocations: 8.375 kB / 0.6455 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1808, allocations: 94.14 kB / 0.6456 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1809, allocations: 3.938 kB / 0.6456 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1809, allocations: 4 kB / 0.6456 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.1809, allocations: 4 kB / 0.6456 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1811, allocations: 39.95 kB / 0.6457 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.1818, allocations: 320.2 kB / 0.646 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1819, allocations: 34.56 kB / 0.646 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.182, allocations: 28.91 kB / 0.646 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1821, allocations: 0 / 0.646 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.1823, allocations: 103.3 kB / 0.6461 GB, free: 5.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1823, allocations: 4 kB / 0.6461 GB, free: 5.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004455/0.1828, allocations: 133.5 kB / 0.6463 GB, free: 5.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1828, allocations: 55.41 kB / 0.6463 GB, free: 5.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.183, allocations: 145.8 kB / 0.6464 GB, free: 4.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.183, allocations: 29.7 kB / 0.6465 GB, free: 4.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.1831, allocations: 112.1 kB / 0.6466 GB, free: 4.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1831, allocations: 27.8 kB / 0.6466 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.1832, allocations: 49.69 kB / 0.6467 GB, free: 4.676 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1834, allocations: 327.2 kB / 0.647 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1836, allocations: 81.66 kB / 0.647 GB, free: 4.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.1838, allocations: 158.8 kB / 0.6472 GB, free: 4.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.1842, allocations: 208.6 kB / 0.6474 GB, free: 3.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1842, allocations: 3.938 kB / 0.6474 GB, free: 3.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005331/0.1847, allocations: 276.6 kB / 0.6477 GB, free: 3.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.1847, allocations: 37.7 kB / 0.6477 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1848, allocations: 0 / 0.6477 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1848, allocations: 4 kB / 0.6477 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1849, allocations: 27.97 kB / 0.6477 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1849, allocations: 7.938 kB / 0.6477 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.1851, allocations: 44.23 kB / 0.6478 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1852, allocations: 15.98 kB / 0.6478 GB, free: 3.379 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001342/0.1853, allocations: 125.8 kB / 0.6479 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1853, allocations: 11.91 kB / 0.6479 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1854, allocations: 20.7 kB / 0.6479 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1854, allocations: 0 / 0.6479 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1854, allocations: 0 / 0.6479 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1854, allocations: 3.938 kB / 0.648 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.1859, allocations: 334.1 kB / 0.6483 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1859, allocations: 0 / 0.6483 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.186, allocations: 8 kB / 0.6483 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.186, allocations: 0 / 0.6483 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.186, allocations: 11.98 kB / 0.6483 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1861, allocations: 3.938 kB / 0.6483 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1861, allocations: 3.938 kB / 0.6483 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.1865, allocations: 239.3 kB / 0.6485 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.1865, allocations: 11.98 kB / 0.6485 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1865, allocations: 4 kB / 0.6485 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.1866, allocations: 7.938 kB / 0.6485 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.1867, allocations: 12.11 kB / 0.6486 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1867, allocations: 8 kB / 0.6486 GB, free: 2.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.1868, allocations: 105.9 kB / 0.6487 GB, free: 2.422 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1868, allocations: 0 / 0.6487 GB, free: 2.422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003025/0.1871, allocations: 31.88 kB / 0.6487 GB, free: 2.391 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001622/0.1872, allocations: 121.5 kB / 0.6488 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.1877, allocations: 204.9 kB / 0.649 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1877, allocations: 0 / 0.649 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1878, allocations: 36.67 kB / 0.649 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1881, allocations: 19.98 kB / 0.6491 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.1886, allocations: 264.8 kB / 0.6493 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.1887, allocations: 93.8 kB / 0.6494 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.586e-05/0.1888, allocations: 16.64 kB / 0.6494 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1888, allocations: 16.5 kB / 0.6494 GB, free: 1.559 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1888, allocations: 0 / 0.6494 GB, free: 1.559 MB / 0.545 GB Notification: Performance of Templates: time 0.005104/0.1939, allocations: 1.737 MB / 0.6511 GB, free: 15.86 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.535081311012618] Failed to read output from testmodel.py, exit status != 0: 0.2023284250171855 0.217005367 0.035050097 Calling exit ...