Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.0008366/0.0008366, allocations: 76.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.001193/0.001193, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.9153/0.9153, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.5479/0.5479, 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.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.747e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001633/0.001651, allocations: 0.6448 MB / 0.5548 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003178, allocations: 1.205 MB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.003233, allocations: 0 / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.003267, allocations: 3.938 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.003344, allocations: 11.86 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007542/0.004098, allocations: 220.5 kB / 0.5562 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004315, allocations: 175.6 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.004411, allocations: 8 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.004552, allocations: 95.91 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.004674, allocations: 51.8 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.004707, allocations: 16 kB / 0.5566 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.00478, allocations: 27.98 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.004802, allocations: 7.984 kB / 0.5566 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.004872, allocations: 55.89 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.005093, allocations: 179.6 kB / 0.5568 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005095, allocations: 0 / 0.5568 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005096, allocations: 4 kB / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.0051, allocations: 0 / 0.5568 GB, free: 92 kB / 0.5105 GB 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.000483/0.005583, allocations: 353.5 kB / 0.5572 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.005624, allocations: 12.62 kB / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.005658, allocations: 34.73 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.005711, allocations: 16.89 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.005798, allocations: 117.6 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.005818, allocations: 8.375 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.005845, allocations: 8.375 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.005959, allocations: 54.17 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005967, allocations: 4.188 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.005978, allocations: 4.375 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005984, allocations: 4.125 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.006026, allocations: 12 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.006482, allocations: 291.9 kB / 0.5577 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.006564, allocations: 34.52 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.006593, allocations: 16.94 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.006603, allocations: 3.938 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.006755, allocations: 83.31 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.006757, allocations: 0 / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002432/0.007, allocations: 105.6 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.007038, allocations: 55.41 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.007121, allocations: 121.8 kB / 0.5581 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.007149, allocations: 29.7 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.007207, allocations: 88.14 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.007228, allocations: 19.89 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.007321, allocations: 49.69 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.007405, allocations: 318.8 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.007566, allocations: 119.4 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.007737, allocations: 155.7 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.007919, allocations: 160 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.007923, allocations: 7.875 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004772/0.0084, allocations: 332.2 kB / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.00844, allocations: 65.89 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008445, allocations: 0 / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.008456, allocations: 4 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-05/0.008473, allocations: 8.125 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.008479, allocations: 4 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.008662, allocations: 47.94 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.008681, allocations: 11.98 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB 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,and1.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 6.603e-05/0.008747, allocations: 125.7 kB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.008758, allocations: 15.89 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.008778, allocations: 12.42 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00878, allocations: 3.938 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.008783, allocations: 0 / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008786, allocations: 4 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.879e-05/0.008865, allocations: 136.7 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.008866, allocations: 4 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.008871, allocations: 8.047 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.008873, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.008879, allocations: 4 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.008882, allocations: 4 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008883, allocations: 0 / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.008981, allocations: 117.3 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.008989, allocations: 11.94 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.009001, allocations: 8 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.009011, allocations: 0 / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.009041, allocations: 7.984 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.009045, allocations: 3.938 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.009078, allocations: 95.2 kB / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009078, allocations: 0 / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001633/0.009242, allocations: 32 kB / 0.56 GB, free: 12.42 MB / 0.5261 GB 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,and1.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.0002773/0.009519, allocations: 0.6554 MB / 0.5607 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.009751, allocations: 270.1 kB / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009753, allocations: 0 / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.009784, allocations: 35.91 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.009941, allocations: 11.98 kB / 0.561 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.01133, allocations: 1.958 MB / 0.5629 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.01136, allocations: 75.33 kB / 0.563 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.01139, allocations: 4 kB / 0.563 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.01142, allocations: 24.48 kB / 0.563 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/0.01142, allocations: 0 / 0.563 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.02649, allocations: 3.743 MB / 0.5666 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.715, allocations: 11.52 kB / 0.5666 GB, free: 5.578 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.261326388455927] Failed to read output from testmodel.py, exit status != 0: 6.795565631240606 6.808179165 6.800248996 Calling exit ...