Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001097/0.001097, 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.001269/0.001269, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.944/0.944, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5748/0.5748, 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.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.744e-05, allocations: 9.562 kB / 0.5543 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001332/0.001349, allocations: 0.7563 MB / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.002644, allocations: 1.159 MB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.002692, allocations: 4 kB / 0.5561 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.002723, allocations: 7.922 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.002797, allocations: 15.8 kB / 0.5562 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.003226, allocations: 138.7 kB / 0.5563 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.003379, allocations: 123.7 kB / 0.5564 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.003472, allocations: 15.98 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003582, allocations: 67.89 kB / 0.5565 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.003663, allocations: 47.86 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.003685, allocations: 15.94 kB / 0.5565 GB, free: 376 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.00374, allocations: 23.98 kB / 0.5566 GB, free: 352 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.003762, allocations: 11.98 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.00381, allocations: 35.91 kB / 0.5566 GB, free: 304 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.00399, allocations: 147.6 kB / 0.5568 GB, free: 156 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003991, allocations: 0 / 0.5568 GB, free: 156 kB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003992, allocations: 0 / 0.5568 GB, free: 156 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003996, allocations: 0 / 0.5568 GB, free: 156 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004794/0.004476, allocations: 358.2 kB / 0.5571 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.004514, allocations: 8.625 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.004541, allocations: 30.75 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.004575, allocations: 16.88 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.157e-05/0.004647, allocations: 109.8 kB / 0.5573 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.00466, allocations: 12.38 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.004675, allocations: 4.375 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004842, allocations: 86.12 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004849, allocations: 192 / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004858, allocations: 4.375 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004864, allocations: 4.125 kB / 0.5574 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.00501, allocations: 71.92 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.005375, allocations: 279.7 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.005504, allocations: 58.48 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.005582, allocations: 48.84 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.005601, allocations: 4 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.005768, allocations: 95.34 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.00577, allocations: 0 / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003467/0.006116, allocations: 169.5 kB / 0.5581 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.006146, allocations: 51.41 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.00621, allocations: 124.3 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.006229, allocations: 37.64 kB / 0.5583 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.006267, allocations: 88.14 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.006282, allocations: 15.86 kB / 0.5584 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.006329, allocations: 37.69 kB / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.006392, allocations: 314.8 kB / 0.5587 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.006519, allocations: 97.64 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.006638, allocations: 108.2 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.006823, allocations: 136.1 kB / 0.559 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.006826, allocations: 11.98 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002807/0.007107, allocations: 244.9 kB / 0.5593 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.007133, allocations: 37.7 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007137, allocations: 0 / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.007149, allocations: 4 kB / 0.5593 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.007229, allocations: 16.03 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007235, allocations: 8 kB / 0.5593 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.007341, allocations: 39.84 kB / 0.5594 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.007355, allocations: 8 kB / 0.5594 GB, free: 13.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.409e-05/0.007419, allocations: 121.9 kB / 0.5595 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.007429, allocations: 19.81 kB / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.00745, allocations: 8.438 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.007453, allocations: 4 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007457, allocations: 4 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00746, allocations: 0 / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.976e-05/0.00754, allocations: 148.7 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007541, allocations: 320 / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.007582, allocations: 19.98 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007583, allocations: 0 / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.00759, allocations: 0 / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.00759, allocations: 0 / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.007593, allocations: 7.984 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.007791, allocations: 152.9 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.007799, allocations: 7.984 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.00781, allocations: 0 / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.007845, allocations: 15.98 kB / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.007877, allocations: 3.984 kB / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.007884, allocations: 4 kB / 0.5599 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.007919, allocations: 103.2 kB / 0.56 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007919, allocations: 0 / 0.56 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001407/0.008059, allocations: 27.95 kB / 0.56 GB, free: 12.5 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000369/0.008428, allocations: 0.6865 MB / 0.5607 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.008697, allocations: 208.9 kB / 0.5609 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008699, allocations: 0 / 0.5609 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.008782, allocations: 43.91 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.008927, allocations: 15.58 kB / 0.5609 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.01028, allocations: 1.757 MB / 0.5626 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01032, allocations: 71.33 kB / 0.5627 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.01035, allocations: 8 kB / 0.5627 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.01039, allocations: 28.42 kB / 0.5627 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.01039, allocations: 0 / 0.5627 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.02495, allocations: 3.482 MB / 0.5661 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.819, allocations: 26.97 kB / 0.5662 GB, free: 6.172 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch_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_Reals_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.511335329152644] Failed to read output from testmodel.py, exit status != 0: 6.9013580260798335 6.912529821 6.906885079 Calling exit ...