Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.00131/0.00131, allocations: 77.09 kB / 19.93 MB, free: 1.773 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.001406/0.001406, allocations: 170 kB / 23.22 MB, free: 4.887 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.382/1.382, allocations: 177.2 MB / 203.5 MB, free: 9.156 MB / 190.1 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.8908/0.8908, allocations: 114 MB / 373.9 MB, free: 13.26 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.446e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001704/0.001729, allocations: 0.7247 MB / 0.5554 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.003317, allocations: 1.166 MB / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.003366, allocations: 0 / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.003397, allocations: 7.938 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.003465, allocations: 15.91 kB / 0.5566 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.003955, allocations: 139 kB / 0.5567 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004146, allocations: 119.7 kB / 0.5568 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.004235, allocations: 7.984 kB / 0.5568 GB, free: 464 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.004359, allocations: 71.88 kB / 0.5569 GB, free: 392 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.004447, allocations: 31.94 kB / 0.5569 GB, free: 360 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.004481, allocations: 12 kB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.004551, allocations: 20 kB / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.004579, allocations: 19.91 kB / 0.557 GB, free: 308 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.004643, allocations: 27.98 kB / 0.557 GB, free: 280 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.004855, allocations: 131.6 kB / 0.5571 GB, free: 148 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004857, allocations: 4 kB / 0.5571 GB, free: 144 kB / 462.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004858, allocations: 0 / 0.5571 GB, free: 144 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.004868, allocations: 0 / 0.5571 GB, free: 144 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006059/0.005474, allocations: 335.8 kB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005511, allocations: 12.62 kB / 0.5575 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.005559, allocations: 4.938 kB / 0.5575 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.005692, allocations: 121.6 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005706, allocations: 4.375 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.005732, allocations: 4.375 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.005923, allocations: 70.22 kB / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.005931, allocations: 192 / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.005941, allocations: 384 / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.005945, allocations: 8.25 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.006134, allocations: 47.89 kB / 0.5577 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.006613, allocations: 260.4 kB / 0.5579 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.006797, allocations: 54.61 kB / 0.558 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.006919, allocations: 36.95 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.006932, allocations: 0 / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.00716, allocations: 91.3 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.007162, allocations: 3.938 kB / 0.5581 GB, free: 14.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.007627, allocations: 141.6 kB / 0.5583 GB, free: 14.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.007669, allocations: 59.41 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.007776, allocations: 121 kB / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.007808, allocations: 29.7 kB / 0.5585 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.007876, allocations: 96.09 kB / 0.5586 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.007895, allocations: 11.91 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.007986, allocations: 45.69 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.008138, allocations: 314.8 kB / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.008328, allocations: 85.66 kB / 0.559 GB, free: 14.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.008543, allocations: 121.9 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.008848, allocations: 145.9 kB / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00885, allocations: 0 / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004911/0.009341, allocations: 233 kB / 0.5595 GB, free: 13.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.009381, allocations: 45.64 kB / 0.5595 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.009388, allocations: 4 kB / 0.5595 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009399, allocations: 0 / 0.5595 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.009494, allocations: 15.92 kB / 0.5595 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.009499, allocations: 0 / 0.5595 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.00971, allocations: 35.89 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.009733, allocations: 8 kB / 0.5596 GB, free: 13.38 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001212/0.009854, allocations: 140.3 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.009871, allocations: 11.89 kB / 0.5597 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.009896, allocations: 8.438 kB / 0.5597 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009898, allocations: 0 / 0.5597 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.009908, allocations: 7.984 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.00991, allocations: 0 / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.01038, allocations: 318 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01038, allocations: 0 / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.01044, allocations: 16.05 kB / 0.5601 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01044, allocations: 0 / 0.5601 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.01047, allocations: 8 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01047, allocations: 3.938 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01047, allocations: 400 / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.0108, allocations: 207.4 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01082, allocations: 15.88 kB / 0.5603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01083, allocations: 0 / 0.5603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.01092, allocations: 8 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.01097, allocations: 11.98 kB / 0.5603 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01098, allocations: 4 kB / 0.5603 GB, free: 12.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.01103, allocations: 91.27 kB / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01103, allocations: 0 / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.01129, allocations: 27.94 kB / 0.5604 GB, free: 12.46 MB / 478.1 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001578/0.01145, allocations: 99.23 kB / 0.5605 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.01186, allocations: 201 kB / 0.5607 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01187, allocations: 0 / 0.5607 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.01199, allocations: 31.97 kB / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01226, allocations: 19.92 kB / 0.5607 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.0126, allocations: 153.6 kB / 0.5609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.01267, allocations: 76.14 kB / 0.561 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.0127, allocations: 8.109 kB / 0.561 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.01273, allocations: 16.44 kB / 0.561 GB, free: 11.79 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01273, allocations: 4 kB / 0.561 GB, free: 11.79 MB / 478.1 MB Notification: Performance of Templates: time 0.004378/0.0171, allocations: 1.555 MB / 0.5625 GB, free: 10.28 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.021945741027594] Failed to read output from testmodel.py, exit status != 0: 0.024963542819023132 0.039598232000000004 0.031792972 Calling exit ...