Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0007854/0.0007854, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0007862/0.0007862, allocations: 173.9 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.8553/0.8553, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5581/0.5581, allocations: 114 MB / 373.9 MB, free: 8.676 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.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.577e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001417/0.001433, allocations: 0.6013 MB / 0.5547 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.002753, allocations: 1.112 MB / 0.5558 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.002794, allocations: 0 / 0.5558 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.002821, allocations: 3.938 kB / 0.5558 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.002884, allocations: 15.92 kB / 0.5558 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.003305, allocations: 126.2 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.003452, allocations: 91.81 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.003536, allocations: 4 kB / 0.5561 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.003627, allocations: 47.97 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.003721, allocations: 31.88 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.003743, allocations: 8 kB / 0.5561 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.0038, allocations: 19.94 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.003819, allocations: 7.984 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.003868, allocations: 27.97 kB / 0.5562 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004041, allocations: 107.7 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004043, allocations: 0 / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004044, allocations: 0 / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004049, allocations: 0 / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004133/0.004462, allocations: 296 kB / 0.5566 GB, free: 260 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.004506, allocations: 12.62 kB / 0.5566 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.004538, allocations: 34.75 kB / 0.5566 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.004577, allocations: 4.938 kB / 0.5566 GB, free: 200 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.004665, allocations: 113.7 kB / 0.5567 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.004685, allocations: 384 / 0.5567 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.004702, allocations: 12.38 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.00479, allocations: 38.25 kB / 0.5568 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.004798, allocations: 192 / 0.5568 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004807, allocations: 384 / 0.5568 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004813, allocations: 4.125 kB / 0.5568 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.004858, allocations: 16.05 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.005234, allocations: 248 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.005299, allocations: 22.58 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.005319, allocations: 8.922 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.005328, allocations: 0 / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.005454, allocations: 79.27 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005455, allocations: 0 / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.005644, allocations: 77.56 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.005681, allocations: 51.41 kB / 0.5573 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.00576, allocations: 113.8 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.005779, allocations: 25.7 kB / 0.5574 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.005824, allocations: 91.95 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.005834, allocations: 7.953 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.00589, allocations: 29.7 kB / 0.5575 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.005978, allocations: 318.8 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.006063, allocations: 65.62 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.00615, allocations: 84.25 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.006251, allocations: 84.27 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006253, allocations: 0 / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002272/0.00648, allocations: 184.9 kB / 0.5582 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.006513, allocations: 39.56 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006518, allocations: 0 / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.006529, allocations: 3.938 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.006579, allocations: 12.12 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.006584, allocations: 0 / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.006736, allocations: 23.97 kB / 0.5583 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.006756, allocations: 15.98 kB / 0.5583 GB, free: 14.25 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: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 7.255e-05/0.006829, allocations: 109.8 kB / 0.5584 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.006838, allocations: 7.891 kB / 0.5584 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.006862, allocations: 12 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006864, allocations: 240 / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.006869, allocations: 0 / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.006874, allocations: 7.984 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.006965, allocations: 128.8 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006966, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.006982, allocations: 11.92 kB / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006983, allocations: 0 / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006989, allocations: 0 / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006991, allocations: 0 / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006992, allocations: 0 / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007097, allocations: 89.06 kB / 0.5587 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.007105, allocations: 7.891 kB / 0.5587 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.007118, allocations: 3.984 kB / 0.5587 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.007131, allocations: 8 kB / 0.5587 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.007155, allocations: 0 / 0.5587 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.00716, allocations: 3.938 kB / 0.5587 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.007204, allocations: 99.58 kB / 0.5588 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007204, allocations: 0 / 0.5588 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002132/0.007418, allocations: 19.94 kB / 0.5588 GB, free: 13.68 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003525/0.00777, allocations: 0.6241 MB / 0.5594 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.007984, allocations: 137.1 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.007987, allocations: 4.125 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.008014, allocations: 15.92 kB / 0.5596 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.008211, allocations: 8 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.009482, allocations: 1.516 MB / 0.5611 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.009524, allocations: 63.34 kB / 0.5611 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.009544, allocations: 0 / 0.5611 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.00958, allocations: 20.48 kB / 0.5611 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.009581, allocations: 4 kB / 0.5611 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.02356, allocations: 2.769 MB / 0.5638 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.438/6.461, allocations: 9.703 kB / 0.5639 GB, free: 8.512 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.893267336301506] Failed to read output from testmodel.py, exit status != 0: 6.538606780581176 6.546440233 6.540747892 Calling exit ...