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.001293/0.001293, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001424/0.001424, allocations: 201.9 kB / 23.74 MB, free: 4.543 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9587/0.9587, allocations: 149.9 MB / 463.8 MB, free: 10.34 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.002113/0.002113, allocations: 74.42 kB / 0.6423 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1711, allocations: 89.17 MB / 0.7294 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002057/0.1732, allocations: 0.6279 MB / 0.73 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.175, allocations: 1.21 MB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.175, allocations: 0 / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.1751, allocations: 0 / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.1752, allocations: 23.84 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.1759, allocations: 205.3 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1761, allocations: 175.8 kB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.1762, allocations: 8 kB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1763, allocations: 75.81 kB / 0.7317 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1764, allocations: 47.86 kB / 0.7317 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.1765, allocations: 16 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.1765, allocations: 31.92 kB / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.1766, allocations: 7.984 kB / 0.7318 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.1766, allocations: 51.91 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1769, allocations: 155.5 kB / 0.7319 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1769, allocations: 3.938 kB / 0.732 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1769, allocations: 0 / 0.732 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1769, allocations: 4 kB / 0.732 GB, free: 13.91 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.0005492/0.1774, allocations: 361.5 kB / 0.7323 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1775, allocations: 12.03 kB / 0.7323 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.1775, allocations: 8.938 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1776, allocations: 110.5 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1777, allocations: 12.3 kB / 0.7324 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1777, allocations: 12.38 kB / 0.7325 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1778, allocations: 42.25 kB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1778, allocations: 192 / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1778, allocations: 11.92 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1778, allocations: 0 / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.1779, allocations: 19.98 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.1783, allocations: 264.5 kB / 0.7328 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.1784, allocations: 30.61 kB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.1784, allocations: 24.78 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1785, allocations: 0 / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1786, allocations: 83.31 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1787, allocations: 0 / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002507/0.1789, allocations: 105.6 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.179, allocations: 51.41 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1791, allocations: 129.8 kB / 0.7332 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.1791, allocations: 33.7 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.1792, allocations: 88.14 kB / 0.7333 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1792, allocations: 19.88 kB / 0.7333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.1793, allocations: 45.69 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1795, allocations: 322.8 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1796, allocations: 119.7 kB / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1798, allocations: 151.7 kB / 0.7339 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1801, allocations: 175.5 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1801, allocations: 0 / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004861/0.1806, allocations: 324.2 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.1806, allocations: 67.39 kB / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1806, allocations: 8.062 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1806, allocations: 0 / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.1807, allocations: 4 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1807, allocations: 3.984 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.181, allocations: 60.02 kB / 0.7345 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.181, allocations: 8 kB / 0.7345 GB, free: 10.96 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.0001139/0.1812, allocations: 129.7 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.1812, allocations: 4 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.1812, allocations: 12.38 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1812, allocations: 0 / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1812, allocations: 0 / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1812, allocations: 4 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1813, allocations: 125.2 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1814, allocations: 3.984 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-06/0.1814, allocations: 0 / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1814, allocations: 0 / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1814, allocations: 0 / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1814, allocations: 4 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1814, allocations: 0 / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1815, allocations: 120.9 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.1815, allocations: 3.953 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1816, allocations: 4 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.1816, allocations: 4 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1816, allocations: 11.98 kB / 0.735 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1816, allocations: 3.938 kB / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.1817, allocations: 91.27 kB / 0.735 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1817, allocations: 0 / 0.735 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002356/0.1819, allocations: 28 kB / 0.7351 GB, free: 10.37 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.0001468/0.1821, allocations: 107.2 kB / 0.7352 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.1825, allocations: 274.3 kB / 0.7354 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1825, allocations: 4.062 kB / 0.7354 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.1825, allocations: 27.92 kB / 0.7355 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1828, allocations: 23.2 kB / 0.7355 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.1831, allocations: 180.5 kB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.064e-05/0.1832, allocations: 75.33 kB / 0.7357 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1832, allocations: 11.44 kB / 0.7357 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1832, allocations: 4 kB / 0.7357 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of Templates: time 0.003459/0.1867, allocations: 1.402 MB / 0.7371 GB, free: 8.184 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.846421529073268] Failed to read output from testmodel.py, exit status != 0: 0.1957463356666267 0.211686583 0.031618453000000005 Calling exit ...