Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.001701/0.001701, allocations: 105 kB / 20.44 MB, free: 1.504 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.001975/0.001975, allocations: 207.7 kB / 23.75 MB, free: 4.727 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: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.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.9892/0.9892, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") [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.002104/0.002104, allocations: 65.97 kB / 0.6425 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1716, allocations: 89.17 MB / 0.7296 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002005/0.1736, allocations: 0.6458 MB / 0.7302 GB, free: 128 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1754, allocations: 1.225 MB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.1755, allocations: 3.938 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.1755, allocations: 3.938 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.1756, allocations: 15.91 kB / 0.7314 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.1764, allocations: 210.4 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.1767, allocations: 183.6 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1768, allocations: 8 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1769, allocations: 71.88 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1771, allocations: 55.86 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.1771, allocations: 16 kB / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1772, allocations: 35.97 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.1773, allocations: 8 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.525e-05/0.1774, allocations: 51.84 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.1776, allocations: 155.5 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1776, allocations: 0 / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1776, allocations: 0 / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.1777, allocations: 3.938 kB / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006759/0.1783, allocations: 365.5 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1784, allocations: 8.031 kB / 0.7326 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.1784, allocations: 8.938 kB / 0.7326 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1786, allocations: 118.5 kB / 0.7327 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1786, allocations: 4.375 kB / 0.7327 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.1786, allocations: 8.375 kB / 0.7327 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1788, allocations: 50.25 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1788, allocations: 192 / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1788, allocations: 7.922 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1788, allocations: 0 / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.1789, allocations: 15.94 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.1794, allocations: 323.9 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.1795, allocations: 30.52 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.1795, allocations: 16.94 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.1795, allocations: 0 / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1797, allocations: 87.25 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1797, allocations: 4 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002708/0.18, allocations: 101.6 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1801, allocations: 55.34 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1802, allocations: 125.8 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1803, allocations: 33.7 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.1803, allocations: 84.14 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1804, allocations: 19.89 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1805, allocations: 53.61 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1806, allocations: 322.8 kB / 0.734 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1807, allocations: 59.97 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1809, allocations: 99.19 kB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1811, allocations: 159.6 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1811, allocations: 0 / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004317/0.1815, allocations: 260.9 kB / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.1816, allocations: 71.39 kB / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1816, allocations: 0 / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1816, allocations: 0 / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.1816, allocations: 8.453 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1817, allocations: 3.938 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.182, allocations: 60.02 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.182, allocations: 15.98 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001233/0.1821, allocations: 121.8 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.1822, allocations: 7.938 kB / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.1822, allocations: 8.375 kB / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1822, allocations: 0 / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1822, allocations: 0 / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1822, allocations: 4 kB / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1823, allocations: 156.7 kB / 0.7349 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1823, allocations: 0 / 0.7349 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.1824, allocations: 7.984 kB / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1824, allocations: 0 / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1824, allocations: 4 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1824, allocations: 0 / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.1824, allocations: 3.938 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1825, allocations: 117 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.1826, allocations: 7.953 kB / 0.7351 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1826, allocations: 7.984 kB / 0.7351 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.1826, allocations: 0 / 0.7351 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1826, allocations: 7.984 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1827, allocations: 4 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.1827, allocations: 87.28 kB / 0.7352 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1827, allocations: 0 / 0.7352 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000242/0.183, allocations: 31.98 kB / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000134/0.1831, allocations: 103.2 kB / 0.7353 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.1834, allocations: 226.6 kB / 0.7355 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1834, allocations: 7.875 kB / 0.7355 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.1835, allocations: 19.98 kB / 0.7356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1837, allocations: 20.14 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1841, allocations: 181 kB / 0.7357 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1844, allocations: 0.6846 MB / 0.7364 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.1845, allocations: 15.44 kB / 0.7364 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.1845, allocations: 3.938 kB / 0.7364 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of Templates: time 0.003261/0.1877, allocations: 1.389 MB / 0.7378 GB, free: 7.93 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9982914961874485] Failed to read output from testmodel.py, exit status != 0: 0.19613400497473776 0.212280342 0.031374026 Calling exit ...