Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.001376/0.001376, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001563/0.001563, allocations: 213.6 kB / 23.75 MB, free: 4.445 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9616/0.9616, allocations: 149.9 MB / 463.8 MB, free: 10.35 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [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.002154/0.002154, allocations: 73.89 kB / 0.6423 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1672, allocations: 89.16 MB / 0.7294 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001783/0.169, allocations: 0.6322 MB / 0.73 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1706, allocations: 1.206 MB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.1706, allocations: 4 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.1707, allocations: 3.938 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.1707, allocations: 11.94 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.1714, allocations: 212.6 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.1716, allocations: 183.6 kB / 0.7316 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.1717, allocations: 7.984 kB / 0.7316 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1718, allocations: 67.91 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.172, allocations: 55.84 kB / 0.7317 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.172, allocations: 12 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.1721, allocations: 31.98 kB / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.1721, allocations: 7.969 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.1722, allocations: 55.84 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1724, allocations: 155.6 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1724, allocations: 0 / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1724, allocations: 3.938 kB / 0.732 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.1724, allocations: 0 / 0.732 GB, free: 13.89 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.0005772/0.173, allocations: 365.5 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1731, allocations: 12.03 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.1731, allocations: 8.938 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1732, allocations: 114.4 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1733, allocations: 4.375 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.1733, allocations: 12.38 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1734, allocations: 50.23 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1734, allocations: 192 / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1734, allocations: 3.938 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1735, allocations: 0 / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.1735, allocations: 23.91 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.174, allocations: 264.5 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.1741, allocations: 34.58 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.1741, allocations: 24.81 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.1741, allocations: 0 / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.1743, allocations: 87.25 kB / 0.7329 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1743, allocations: 0 / 0.7329 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002593/0.1746, allocations: 101.6 kB / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1746, allocations: 55.41 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1747, allocations: 121.8 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.1748, allocations: 33.7 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.1749, allocations: 92.14 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1749, allocations: 15.89 kB / 0.7333 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.175, allocations: 49.62 kB / 0.7334 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1751, allocations: 322.8 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.1753, allocations: 123.4 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1755, allocations: 151.7 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.1758, allocations: 160 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1758, allocations: 4 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004946/0.1763, allocations: 328.2 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.869e-05/0.1763, allocations: 67.39 kB / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.1763, allocations: 4 kB / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1763, allocations: 0 / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.1764, allocations: 7.938 kB / 0.7345 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1764, allocations: 0 / 0.7345 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.1767, allocations: 60.02 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.1767, allocations: 11.98 kB / 0.7345 GB, free: 10.94 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,nand1.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.0001175/0.1769, allocations: 125.8 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.1769, allocations: 0 / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.1769, allocations: 16.36 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1769, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1769, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1769, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.177, allocations: 125.2 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.177, allocations: 8.062 kB / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.177, allocations: 0 / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.177, allocations: 0 / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1771, allocations: 7.984 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1771, allocations: 3.938 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1771, allocations: 3.938 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.1772, allocations: 117 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.1772, allocations: 7.953 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1773, allocations: 0 / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.1773, allocations: 0 / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.1773, allocations: 11.98 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.1773, allocations: 8 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.1774, allocations: 95.2 kB / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1774, allocations: 0 / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002312/0.1776, allocations: 24 kB / 0.7351 GB, free: 10.34 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,nand1.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.0001396/0.1778, allocations: 103.2 kB / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.1781, allocations: 278.5 kB / 0.7354 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1781, allocations: 0 / 0.7354 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/0.1782, allocations: 23.98 kB / 0.7355 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1784, allocations: 32.53 kB / 0.7355 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.1788, allocations: 176.5 kB / 0.7357 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/0.1788, allocations: 67.34 kB / 0.7357 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1789, allocations: 11.44 kB / 0.7357 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1789, allocations: 0 / 0.7357 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.003244/0.1821, allocations: 1.405 MB / 0.7371 GB, free: 8.168 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.865396921057254] Failed to read output from testmodel.py, exit status != 0: 0.19015150098130107 0.20539346200000003 0.029815611000000002 Calling exit ...