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.0007553/0.0007553, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007695/0.0007695, allocations: 166.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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 0.8416/0.8416, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5265/0.5265, allocations: 114 MB / 374.7 MB, free: 8.695 MB / 346.7 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: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 0 / 0.5554 GB, free: 1.199 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/3.129e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.195 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001392/0.001423, allocations: 0.6405 MB / 0.556 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.002903, allocations: 1.217 MB / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.002963, allocations: 0 / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.003001, allocations: 3.938 kB / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.132e-05/0.003093, allocations: 19.86 kB / 0.5573 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.003804, allocations: 210.5 kB / 0.5575 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.004048, allocations: 175.7 kB / 0.5576 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.004177, allocations: 4 kB / 0.5576 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.004317, allocations: 103.8 kB / 0.5577 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.004454, allocations: 47.91 kB / 0.5578 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.00449, allocations: 16 kB / 0.5578 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.004583, allocations: 35.92 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.004611, allocations: 4 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.004685, allocations: 51.94 kB / 0.5579 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.004929, allocations: 179.6 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.004932, allocations: 0 / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.004935, allocations: 4 kB / 0.5581 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.00494, allocations: 0 / 0.5581 GB, free: 14.5 MB / 490.7 MB 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.0004733/0.005414, allocations: 353.6 kB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.005453, allocations: 8.625 kB / 0.5584 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.00551, allocations: 12.89 kB / 0.5584 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.005596, allocations: 117.7 kB / 0.5585 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005612, allocations: 4.375 kB / 0.5585 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.005635, allocations: 12.38 kB / 0.5585 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.00574, allocations: 50.19 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.005748, allocations: 192 / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005757, allocations: 4.312 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005761, allocations: 384 / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.005797, allocations: 19.92 kB / 0.5586 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.006198, allocations: 272.5 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.006276, allocations: 38.44 kB / 0.5589 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.006298, allocations: 16.86 kB / 0.5589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.006309, allocations: 0 / 0.5589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.006474, allocations: 87.39 kB / 0.559 GB, free: 13.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.006476, allocations: 0 / 0.559 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002286/0.006704, allocations: 101.6 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.006745, allocations: 59.39 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.006825, allocations: 113.8 kB / 0.5593 GB, free: 13.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.006857, allocations: 33.7 kB / 0.5593 GB, free: 13.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.00691, allocations: 92.09 kB / 0.5594 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.006927, allocations: 19.88 kB / 0.5594 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.006995, allocations: 53.69 kB / 0.5595 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.007081, allocations: 314.8 kB / 0.5598 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.007214, allocations: 127.4 kB / 0.5599 GB, free: 12.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.007339, allocations: 147.7 kB / 0.56 GB, free: 12.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.007478, allocations: 163.6 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.007481, allocations: 4.469 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003258/0.007807, allocations: 336.1 kB / 0.5605 GB, free: 11.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.00786, allocations: 72.73 kB / 0.5606 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007866, allocations: 0 / 0.5606 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.007883, allocations: 4 kB / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.251e-05/0.007905, allocations: 3.984 kB / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.007912, allocations: 4.312 kB / 0.5606 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.00812, allocations: 51.88 kB / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.008141, allocations: 16.12 kB / 0.5606 GB, free: 11.55 MB / 490.7 MB 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 8.284e-05/0.008224, allocations: 121.8 kB / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.008237, allocations: 11.89 kB / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.00826, allocations: 8.438 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.008263, allocations: 0 / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.008268, allocations: 3.938 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.008275, allocations: 4 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.906e-05/0.008354, allocations: 113.3 kB / 0.5609 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008355, allocations: 0 / 0.5609 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.00836, allocations: 0 / 0.5609 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008363, allocations: 11.94 kB / 0.5609 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.008371, allocations: 7.938 kB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008373, allocations: 0 / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008374, allocations: 0 / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.008497, allocations: 117 kB / 0.561 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.008505, allocations: 4 kB / 0.561 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008519, allocations: 7.938 kB / 0.561 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.008537, allocations: 4 kB / 0.561 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.008573, allocations: 3.984 kB / 0.561 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008579, allocations: 4 kB / 0.5611 GB, free: 11.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.617e-05/0.008616, allocations: 95.2 kB / 0.5611 GB, free: 10.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008616, allocations: 4 kB / 0.5611 GB, free: 10.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.008801, allocations: 39.89 kB / 0.5612 GB, free: 10.94 MB / 490.7 MB 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.0001428/0.008944, allocations: 99.23 kB / 0.5613 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.009223, allocations: 278.1 kB / 0.5615 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.009225, allocations: 288 / 0.5615 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.009262, allocations: 19.98 kB / 0.5616 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.009465, allocations: 24.17 kB / 0.5616 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.009799, allocations: 190.8 kB / 0.5618 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.00985, allocations: 71.33 kB / 0.5618 GB, free: 10.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.009874, allocations: 12.5 kB / 0.5618 GB, free: 10.16 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009874, allocations: 0 / 0.5618 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Templates: time 0.002537/0.01241, allocations: 1.399 MB / 0.5632 GB, free: 8.781 MB / 490.7 MB " [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: 4.821092291735113] Failed to read output from testmodel.py, exit status != 0: 0.01859409175813198 0.027296296 0.020645083 Calling exit ...