Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.0008976/0.0008976, allocations: 72.5 kB / 19.92 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.0009062/0.0009062, allocations: 174.3 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.8814/0.8814, 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.5724/0.5724, allocations: 114 MB / 373.9 MB, free: 8.711 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.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.987e-05, allocations: 4.672 kB / 0.5542 GB, free: 1.68 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001639/0.001658, allocations: 0.6316 MB / 0.5548 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.003355, allocations: 1.209 MB / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.003411, allocations: 0 / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.003442, allocations: 7.938 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.003513, allocations: 7.938 kB / 0.556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.004168, allocations: 221.1 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.004425, allocations: 175.7 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004526, allocations: 11.98 kB / 0.5564 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.004686, allocations: 91.92 kB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.004821, allocations: 55.84 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.004857, allocations: 16 kB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.004939, allocations: 27.92 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.004963, allocations: 8 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.00504, allocations: 51.88 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.005292, allocations: 179.6 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005294, allocations: 4 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005296, allocations: 0 / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.0053, allocations: 4 kB / 0.5568 GB, free: 14.99 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.0005036/0.005803, allocations: 358.4 kB / 0.5572 GB, free: 14.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.005845, allocations: 8.625 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.005881, allocations: 42.75 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.005936, allocations: 12.89 kB / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/0.006034, allocations: 105.8 kB / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.006056, allocations: 12.36 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.006085, allocations: 8.375 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.006207, allocations: 50.19 kB / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006216, allocations: 192 / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.006228, allocations: 8.312 kB / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006235, allocations: 8.125 kB / 0.5574 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.006282, allocations: 19.97 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.006747, allocations: 291.9 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.006835, allocations: 34.56 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.006864, allocations: 16.8 kB / 0.5578 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.006877, allocations: 3.938 kB / 0.5578 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.007046, allocations: 75.47 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.007048, allocations: 0 / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002657/0.007313, allocations: 105.6 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.007355, allocations: 63.33 kB / 0.558 GB, free: 13.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.007464, allocations: 121.8 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.007497, allocations: 33.7 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.007554, allocations: 88.14 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.007571, allocations: 15.89 kB / 0.5582 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.007663, allocations: 45.69 kB / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.007755, allocations: 318.8 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.007936, allocations: 127.4 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.008121, allocations: 147.7 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.008307, allocations: 163.6 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.008314, allocations: 12.34 kB / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000455/0.008769, allocations: 324.2 kB / 0.5593 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.008819, allocations: 67.39 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.008825, allocations: 4 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.008839, allocations: 0 / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.992e-05/0.008859, allocations: 11.92 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.008864, allocations: 448 / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.009154, allocations: 51.94 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.009189, allocations: 12 kB / 0.5595 GB, free: 11.97 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,or1.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.974e-05/0.009279, allocations: 133.7 kB / 0.5596 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.009293, allocations: 3.953 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.009319, allocations: 12.44 kB / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009321, allocations: 0 / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.009325, allocations: 4 kB / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009329, allocations: 0 / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.009483, allocations: 148.7 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009486, allocations: 8 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.009496, allocations: 4 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009498, allocations: 0 / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009506, allocations: 0 / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.009509, allocations: 3.984 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00951, allocations: 0 / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.009658, allocations: 117 kB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.00967, allocations: 3.953 kB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.009685, allocations: 7.984 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.009708, allocations: 4 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.009741, allocations: 0 / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.009752, allocations: 11.98 kB / 0.5599 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.629e-05/0.009798, allocations: 91.22 kB / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009798, allocations: 0 / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.01002, allocations: 31.98 kB / 0.56 GB, free: 11.32 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,or1.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.0003162/0.01033, allocations: 0.6437 MB / 0.5607 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.01058, allocations: 286.2 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01058, allocations: 288 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.01061, allocations: 23.94 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01078, allocations: 24.64 kB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.01211, allocations: 1.963 MB / 0.5629 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.01215, allocations: 71.47 kB / 0.563 GB, free: 8.059 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.01217, allocations: 7.984 kB / 0.563 GB, free: 8.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.0122, allocations: 16.5 kB / 0.563 GB, free: 8.035 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01221, allocations: 0 / 0.563 GB, free: 8.035 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.02661, allocations: 3.755 MB / 0.5666 GB, free: 4.484 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.095, allocations: 9.766 kB / 0.5667 GB, free: 4.477 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.47532395645976] Failed to read output from testmodel.py, exit status != 0: 7.176220580935478 7.183552977 7.176571172 Calling exit ...