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.001182/0.001182, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008795/0.0008795, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8947/0.8947, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5685/0.5685, allocations: 114 MB / 373.9 MB, free: 8.723 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.507e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001908/0.001933, allocations: 0.6747 MB / 0.5549 GB, free: 1.031 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.003677, allocations: 1.283 MB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.003739, allocations: 0 / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.003775, allocations: 3.938 kB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.003864, allocations: 27.78 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.00454, allocations: 309.4 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.004777, allocations: 259.5 kB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.00487, allocations: 12.12 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.005013, allocations: 143.8 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.005136, allocations: 71.86 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.005168, allocations: 20 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.005238, allocations: 43.97 kB / 0.557 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.00526, allocations: 11.94 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.005335, allocations: 83.86 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.005571, allocations: 263.3 kB / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005574, allocations: 0 / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.005576, allocations: 0 / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.005581, allocations: 4 kB / 0.5573 GB, free: 14.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004507/0.006031, allocations: 423.1 kB / 0.5577 GB, free: 14.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.006071, allocations: 8.625 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.0061, allocations: 38.73 kB / 0.5578 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.006152, allocations: 20.89 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.006228, allocations: 121.6 kB / 0.5579 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006249, allocations: 8.375 kB / 0.5579 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.006277, allocations: 20.36 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.006377, allocations: 54.23 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.006386, allocations: 4.125 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006396, allocations: 4.375 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.006401, allocations: 3.938 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.006442, allocations: 23.98 kB / 0.558 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.006859, allocations: 331.8 kB / 0.5583 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.756e-05/0.006917, allocations: 34.52 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.006951, allocations: 24.88 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.006959, allocations: 0 / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.007355, allocations: 99.41 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.007357, allocations: 0 / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000253/0.00761, allocations: 141.5 kB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.007642, allocations: 55.41 kB / 0.5587 GB, free: 12.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.007724, allocations: 144.1 kB / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.00775, allocations: 33.7 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.007805, allocations: 104.1 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.007821, allocations: 19.89 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.00791, allocations: 69.61 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.007986, allocations: 322.8 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.00816, allocations: 181 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.008332, allocations: 225.1 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.008522, allocations: 245.8 kB / 0.5599 GB, free: 11.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.008526, allocations: 7.938 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004336/0.00896, allocations: 467.5 kB / 0.5604 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.009014, allocations: 101.1 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.00902, allocations: 384 / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.009034, allocations: 4 kB / 0.5605 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.082e-05/0.009055, allocations: 12.19 kB / 0.5605 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.009061, allocations: 4.062 kB / 0.5605 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.009337, allocations: 79.8 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.009364, allocations: 23.92 kB / 0.5606 GB, free: 10.77 MB / 490.7 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 9.046e-05/0.009454, allocations: 141.2 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.009466, allocations: 7.953 kB / 0.5608 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.009492, allocations: 12.44 kB / 0.5608 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009494, allocations: 0 / 0.5608 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.009499, allocations: 0 / 0.5608 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009502, allocations: 0 / 0.5608 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.009606, allocations: 164.6 kB / 0.5609 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009607, allocations: 0 / 0.5609 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.009613, allocations: 0 / 0.5609 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.009614, allocations: 0 / 0.5609 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.009624, allocations: 12 kB / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.009626, allocations: 3.938 kB / 0.5609 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.009628, allocations: 7.984 kB / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.009765, allocations: 141 kB / 0.5611 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.009774, allocations: 7.891 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.009786, allocations: 4 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.009809, allocations: 4 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.00984, allocations: 7.984 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.009849, allocations: 7.984 kB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.251e-05/0.009891, allocations: 102.6 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009892, allocations: 0 / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000196/0.01009, allocations: 40 kB / 0.5613 GB, free: 10.05 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: 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.0003553/0.01044, allocations: 0.6864 MB / 0.5619 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.01081, allocations: 427.2 kB / 0.5623 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01081, allocations: 0 / 0.5623 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.01085, allocations: 27.98 kB / 0.5624 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01107, allocations: 20.36 kB / 0.5624 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.01301, allocations: 2.425 MB / 0.5647 GB, free: 6.164 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01306, allocations: 75.89 kB / 0.5648 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.01311, allocations: 16.47 kB / 0.5648 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.01315, allocations: 24.5 kB / 0.5649 GB, free: 6.027 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01315, allocations: 0 / 0.5649 GB, free: 6.027 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.03371, allocations: 4.789 MB / 0.5695 GB, free: 1.457 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.004, allocations: 9.25 kB / 0.5695 GB, free: 1.453 MB / 490.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.4280671980232] Failed to read output from testmodel.py, exit status != 0: 7.085345212370157 7.092643619 7.085271771 Calling exit ...