Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001523/0.001523, allocations: 74.12 kB / 19.93 MB, free: 1.77 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.001584/0.001584, allocations: 168.9 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.402/1.402, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.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.9056/0.9056, 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.5547 GB, free: 2.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.053e-05, allocations: 9.031 kB / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001696/0.001727, allocations: 0.6644 MB / 0.5553 GB, free: 2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.003539, allocations: 1.302 MB / 0.5566 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.003589, allocations: 0 / 0.5566 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.00362, allocations: 7.938 kB / 0.5566 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.003704, allocations: 19.8 kB / 0.5566 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.004525, allocations: 311.3 kB / 0.5569 GB, free: 372 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.004858, allocations: 259.5 kB / 0.5572 GB, free: 112 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004958, allocations: 16.19 kB / 0.5572 GB, free: 92 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.005174, allocations: 143.9 kB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.005341, allocations: 75.81 kB / 0.5574 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.005389, allocations: 20 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.005474, allocations: 31.98 kB / 0.5575 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.005507, allocations: 15.94 kB / 0.5575 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.005638, allocations: 71.92 kB / 0.5575 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.005996, allocations: 271.3 kB / 0.5578 GB, free: 15.47 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006, allocations: 0 / 0.5578 GB, free: 15.47 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006001, allocations: 0 / 0.5578 GB, free: 15.47 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.00601, allocations: 0 / 0.5578 GB, free: 15.47 MB / 478.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.0006612/0.006671, allocations: 419.1 kB / 0.5582 GB, free: 15.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.006712, allocations: 12.62 kB / 0.5582 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.006783, allocations: 16.89 kB / 0.5582 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.006912, allocations: 125.7 kB / 0.5583 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.006934, allocations: 8.312 kB / 0.5584 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.006981, allocations: 16.38 kB / 0.5584 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.007104, allocations: 54.23 kB / 0.5584 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007112, allocations: 4.125 kB / 0.5584 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.007126, allocations: 4.359 kB / 0.5584 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.007132, allocations: 4.125 kB / 0.5584 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.007188, allocations: 24 kB / 0.5585 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.007705, allocations: 320.3 kB / 0.5588 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.007776, allocations: 34.5 kB / 0.5588 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.007811, allocations: 16.86 kB / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.007822, allocations: 0 / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.007987, allocations: 107.3 kB / 0.5589 GB, free: 14.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.007988, allocations: 0 / 0.5589 GB, free: 14.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003288/0.008317, allocations: 145.5 kB / 0.5591 GB, free: 14.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.008361, allocations: 51.41 kB / 0.5591 GB, free: 13.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.008483, allocations: 140.7 kB / 0.5592 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.008528, allocations: 37.7 kB / 0.5593 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.008612, allocations: 96.12 kB / 0.5594 GB, free: 13.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.008638, allocations: 23.92 kB / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.008765, allocations: 65.67 kB / 0.5594 GB, free: 13.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.008909, allocations: 322.8 kB / 0.5598 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.009162, allocations: 181 kB / 0.5599 GB, free: 13.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.00945, allocations: 223 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.009759, allocations: 245.2 kB / 0.5604 GB, free: 12.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.009763, allocations: 4 kB / 0.5604 GB, free: 12.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000691/0.01045, allocations: 471.5 kB / 0.5608 GB, free: 12.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.01054, allocations: 97.09 kB / 0.5609 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01054, allocations: 0 / 0.5609 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.01056, allocations: 4 kB / 0.5609 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.301e-05/0.01059, allocations: 12.11 kB / 0.5609 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.0106, allocations: 4 kB / 0.5609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.01109, allocations: 92.11 kB / 0.561 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.01113, allocations: 15.98 kB / 0.561 GB, free: 11.81 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001294/0.01126, allocations: 134.4 kB / 0.5612 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.01129, allocations: 15.89 kB / 0.5612 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.01132, allocations: 16.36 kB / 0.5612 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01132, allocations: 0 / 0.5612 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01132, allocations: 0 / 0.5612 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.01133, allocations: 4 kB / 0.5612 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.01145, allocations: 129.2 kB / 0.5613 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01145, allocations: 0 / 0.5613 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.01146, allocations: 4 kB / 0.5613 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01147, allocations: 3.938 kB / 0.5613 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01148, allocations: 8 kB / 0.5613 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01148, allocations: 0 / 0.5613 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01148, allocations: 8 kB / 0.5614 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01168, allocations: 140.9 kB / 0.5615 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.01169, allocations: 11.89 kB / 0.5615 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.01171, allocations: 3.938 kB / 0.5615 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.01173, allocations: 4 kB / 0.5615 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.01177, allocations: 7.984 kB / 0.5615 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.01178, allocations: 11.98 kB / 0.5615 GB, free: 11.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.01185, allocations: 95.27 kB / 0.5616 GB, free: 11.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01185, allocations: 0 / 0.5616 GB, free: 11.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.01211, allocations: 44 kB / 0.5617 GB, free: 11.12 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001591/0.01227, allocations: 103.2 kB / 0.5618 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.01279, allocations: 411.1 kB / 0.5621 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01279, allocations: 4 kB / 0.5622 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.01286, allocations: 31.92 kB / 0.5622 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01311, allocations: 30.59 kB / 0.5622 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.01348, allocations: 185.8 kB / 0.5624 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.01355, allocations: 75.89 kB / 0.5625 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.01358, allocations: 8.484 kB / 0.5625 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.0136, allocations: 20.5 kB / 0.5625 GB, free: 10.15 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.0136, allocations: 0 / 0.5625 GB, free: 10.15 MB / 478.1 MB Notification: Performance of Templates: time 0.006143/0.01975, allocations: 2.898 MB / 0.5653 GB, free: 7.332 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1160301603376865] Failed to read output from testmodel.py, exit status != 0: 0.0285293310880661 0.04293676399999994 0.033912217 Calling exit ...