Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.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.001362/0.001362, allocations: 71.77 kB / 20.51 MB, free: 1.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.001439/0.001439, allocations: 162.1 kB / 23.76 MB, free: 4.195 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.482/1.482, allocations: 177.2 MB / 204.1 MB, free: 8.887 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.9247/0.9247, allocations: 113.9 MB / 374.5 MB, free: 12.88 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert") [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.002161/0.002161, allocations: 75.86 kB / 0.555 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1744, allocations: 89.15 MB / 0.6421 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001779/0.1762, allocations: 0.5594 MB / 0.6426 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1776, allocations: 1.128 MB / 0.6437 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.1777, allocations: 0 / 0.6437 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.1777, allocations: 0 / 0.6437 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.1778, allocations: 11.92 kB / 0.6437 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.1782, allocations: 126.6 kB / 0.6439 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1784, allocations: 87.83 kB / 0.6439 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.1785, allocations: 7.984 kB / 0.6439 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.1785, allocations: 35.91 kB / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.1786, allocations: 19.97 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1786, allocations: 8 kB / 0.644 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.1787, allocations: 23.98 kB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1787, allocations: 3.938 kB / 0.644 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.1788, allocations: 31.97 kB / 0.6441 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.179, allocations: 83.72 kB / 0.6441 GB, free: 7.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.179, allocations: 4 kB / 0.6441 GB, free: 7.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.179, allocations: 0 / 0.6441 GB, free: 7.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.179, allocations: 3.938 kB / 0.6442 GB, free: 7.43 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004536/0.1794, allocations: 302 kB / 0.6444 GB, free: 7.098 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1794, allocations: 8.031 kB / 0.6444 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1795, allocations: 4.938 kB / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1796, allocations: 110.5 kB / 0.6446 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1796, allocations: 384 / 0.6446 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1796, allocations: 8.359 kB / 0.6446 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1798, allocations: 67.91 kB / 0.6446 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1798, allocations: 192 / 0.6446 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1798, allocations: 7.938 kB / 0.6446 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1798, allocations: 7.922 kB / 0.6446 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.1798, allocations: 7.984 kB / 0.6447 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1801, allocations: 216.6 kB / 0.6449 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.892e-05/0.1802, allocations: 26.52 kB / 0.6449 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.1802, allocations: 8.922 kB / 0.6449 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1802, allocations: 3.938 kB / 0.6449 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.1804, allocations: 89.09 kB / 0.645 GB, free: 6.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1804, allocations: 0 / 0.645 GB, free: 6.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001805/0.1805, allocations: 69.58 kB / 0.645 GB, free: 6.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1806, allocations: 59.39 kB / 0.6451 GB, free: 6.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.1807, allocations: 101.9 kB / 0.6452 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1807, allocations: 29.7 kB / 0.6452 GB, free: 6.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1808, allocations: 88.12 kB / 0.6453 GB, free: 6.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.1808, allocations: 3.953 kB / 0.6453 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.1808, allocations: 29.7 kB / 0.6453 GB, free: 6.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.181, allocations: 318.8 kB / 0.6457 GB, free: 5.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.1811, allocations: 61.67 kB / 0.6457 GB, free: 5.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1812, allocations: 76.27 kB / 0.6458 GB, free: 5.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1813, allocations: 84.2 kB / 0.6459 GB, free: 5.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1813, allocations: 0 / 0.6459 GB, free: 5.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002754/0.1816, allocations: 176.9 kB / 0.646 GB, free: 5.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.1816, allocations: 39.41 kB / 0.6461 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1816, allocations: 0 / 0.6461 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1816, allocations: 0 / 0.6461 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.1817, allocations: 4 kB / 0.6461 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1817, allocations: 0 / 0.6461 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1819, allocations: 32 kB / 0.6461 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1819, allocations: 11.98 kB / 0.6461 GB, free: 5.172 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001016/0.182, allocations: 117.8 kB / 0.6462 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.182, allocations: 7.891 kB / 0.6462 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.182, allocations: 8 kB / 0.6462 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1821, allocations: 0 / 0.6462 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1821, allocations: 7.938 kB / 0.6462 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1821, allocations: 0 / 0.6462 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.1822, allocations: 113.2 kB / 0.6464 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1822, allocations: 0 / 0.6464 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-06/0.1822, allocations: 11.88 kB / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1822, allocations: 0 / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1822, allocations: 7.984 kB / 0.6464 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1822, allocations: 0 / 0.6464 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1822, allocations: 0 / 0.6464 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1823, allocations: 81.66 kB / 0.6465 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.1823, allocations: 7.891 kB / 0.6465 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1823, allocations: 0 / 0.6465 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.1823, allocations: 8 kB / 0.6465 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.1824, allocations: 3.984 kB / 0.6465 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1824, allocations: 0 / 0.6465 GB, free: 4.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.1824, allocations: 91.28 kB / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1824, allocations: 0 / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002146/0.1826, allocations: 12 kB / 0.6466 GB, free: 4.637 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001277/0.1828, allocations: 103.2 kB / 0.6467 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.183, allocations: 137.1 kB / 0.6468 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.183, allocations: 0 / 0.6468 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.183, allocations: 11.92 kB / 0.6468 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1832, allocations: 16.19 kB / 0.6468 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.1835, allocations: 122 kB / 0.6469 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.1836, allocations: 55.36 kB / 0.647 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.1836, allocations: 7.984 kB / 0.647 GB, free: 4.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.1836, allocations: 8.5 kB / 0.647 GB, free: 4.109 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1836, allocations: 0 / 0.647 GB, free: 4.109 MB / 0.545 GB Notification: Performance of Templates: time 0.003847/0.1875, allocations: 1.181 MB / 0.6482 GB, free: 2.957 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.518426212016493] Failed to read output from testmodel.py, exit status != 0: 0.1956929579610005 0.209763526 0.027792107000000003 Calling exit ...