Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.0007799/0.0007799, 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.0008209/0.0008209, allocations: 174.3 kB / 23.21 MB, free: 1.348 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.8912/0.8912, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5681/0.5681, allocations: 114 MB / 373.9 MB, free: 8.707 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.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.858e-06/3.858e-06, allocations: 4 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.385e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001622/0.001646, allocations: 0.6284 MB / 0.5548 GB, free: 1.066 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003059, allocations: 1.209 MB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.0031, allocations: 3.938 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.003128, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.003193, allocations: 19.84 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.003693, allocations: 213.9 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.003876, allocations: 171.7 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.00397, allocations: 15.98 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004072, allocations: 83.94 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004179, allocations: 55.84 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.004203, allocations: 16 kB / 0.5566 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.346e-05/0.004267, allocations: 23.98 kB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.004289, allocations: 11.98 kB / 0.5566 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.809e-05/0.004357, allocations: 51.89 kB / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.004555, allocations: 179.6 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004557, allocations: 0 / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004559, allocations: 3.938 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004563, allocations: 0 / 0.5568 GB, free: 15.02 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.0004083/0.004971, allocations: 365.5 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.00501, allocations: 8.625 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.005038, allocations: 42.69 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.005076, allocations: 12.89 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.949e-05/0.005146, allocations: 109.8 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.005158, allocations: 4.375 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.005177, allocations: 12.38 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.005265, allocations: 46.25 kB / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.005278, allocations: 4.125 kB / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.005287, allocations: 4.359 kB / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.005292, allocations: 8.125 kB / 0.5574 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.005324, allocations: 12 kB / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.005685, allocations: 299.8 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.005749, allocations: 30.56 kB / 0.5577 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.005769, allocations: 12.86 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.00578, allocations: 7.938 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.005911, allocations: 83.39 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.005912, allocations: 0 / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.006121, allocations: 105.6 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.006158, allocations: 55.41 kB / 0.558 GB, free: 13.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.006229, allocations: 121.8 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.006269, allocations: 29.7 kB / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.006318, allocations: 96.12 kB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.00633, allocations: 7.906 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.006392, allocations: 49.69 kB / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.006482, allocations: 322.8 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.006602, allocations: 123.3 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.006729, allocations: 151.7 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.006861, allocations: 164.1 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.006864, allocations: 3.938 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003001/0.007164, allocations: 336.2 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.007209, allocations: 67.39 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.007217, allocations: 3.938 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007231, allocations: 4 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.007248, allocations: 0 / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.007255, allocations: 8.25 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.007445, allocations: 56.06 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.007465, allocations: 11.98 kB / 0.5595 GB, free: 11.98 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,nor1.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 7.658e-05/0.007541, allocations: 129.1 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.00755, allocations: 7.953 kB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.007572, allocations: 8.438 kB / 0.5596 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.007575, allocations: 4 kB / 0.5596 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007579, allocations: 4 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007584, allocations: 3.984 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.341e-05/0.007667, allocations: 144.7 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007669, allocations: 4.062 kB / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-06/0.007673, allocations: 0 / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.007674, allocations: 0 / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.007683, allocations: 7.984 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007684, allocations: 0 / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.007686, allocations: 3.984 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.514e-05/0.007781, allocations: 117 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.007789, allocations: 7.953 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.007799, allocations: 4 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.007809, allocations: 0 / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.007841, allocations: 11.98 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.007846, allocations: 4 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.007877, allocations: 91.27 kB / 0.56 GB, free: 11.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007877, allocations: 0 / 0.56 GB, free: 11.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.008039, allocations: 24 kB / 0.56 GB, free: 11.35 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,nor1.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.0003003/0.00834, allocations: 0.6553 MB / 0.5607 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.00858, allocations: 282.5 kB / 0.5609 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008582, allocations: 0 / 0.5609 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.00861, allocations: 19.98 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.008771, allocations: 24.06 kB / 0.561 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.01013, allocations: 1.963 MB / 0.5629 GB, free: 8.172 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.01017, allocations: 71.45 kB / 0.563 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.01019, allocations: 8 kB / 0.563 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.01023, allocations: 16.5 kB / 0.563 GB, free: 8.059 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01023, allocations: 0 / 0.563 GB, free: 8.059 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.02734, allocations: 3.762 MB / 0.5667 GB, free: 4.496 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/6.65, allocations: 11.61 kB / 0.5667 GB, free: 4.488 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.197239049710333] Failed to read output from testmodel.py, exit status != 0: 6.731673291884363 6.739728279 6.733492717 Calling exit ...