Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001415/0.001415, allocations: 110.1 kB / 17.12 MB, free: 5.926 MB / 14.72 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.001517/0.001517, allocations: 205 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.9762/0.9762, allocations: 150 MB / 459.5 MB, free: 5.281 MB / 350.1 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.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 65.25 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1521, allocations: 89.13 MB / 0.7231 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002172/0.1542, allocations: 0.5827 MB / 0.7237 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1558, allocations: 1.145 MB / 0.7248 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.1559, allocations: 4 kB / 0.7248 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.1559, allocations: 3.938 kB / 0.7248 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.156, allocations: 11.92 kB / 0.7248 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1564, allocations: 121.8 kB / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1566, allocations: 87.83 kB / 0.725 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.1567, allocations: 11.98 kB / 0.7251 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.714e-05/0.1568, allocations: 31.97 kB / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.1569, allocations: 31.84 kB / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1569, allocations: 12 kB / 0.7251 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.157, allocations: 27.97 kB / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.157, allocations: 11.92 kB / 0.7252 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.1571, allocations: 31.86 kB / 0.7252 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1572, allocations: 88 kB / 0.7253 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1572, allocations: 0 / 0.7253 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1572, allocations: 0 / 0.7253 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1572, allocations: 0 / 0.7253 GB, free: 1.852 MB / 0.5294 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.0004978/0.1577, allocations: 377.1 kB / 0.7256 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1578, allocations: 8.031 kB / 0.7257 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1578, allocations: 34.75 kB / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1579, allocations: 8.891 kB / 0.7257 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.158, allocations: 172.3 kB / 0.7259 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.158, allocations: 384 / 0.7259 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1581, allocations: 12.36 kB / 0.7259 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1582, allocations: 38.25 kB / 0.7259 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1582, allocations: 3.938 kB / 0.7259 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1582, allocations: 0 / 0.7259 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1582, allocations: 3.938 kB / 0.7259 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/0.1582, allocations: 12 kB / 0.7259 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1587, allocations: 296.8 kB / 0.7262 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.1587, allocations: 26.52 kB / 0.7262 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.1588, allocations: 12.91 kB / 0.7262 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.1588, allocations: 0 / 0.7262 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.159, allocations: 63.34 kB / 0.7263 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.159, allocations: 4 kB / 0.7263 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002168/0.1592, allocations: 65.67 kB / 0.7264 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1592, allocations: 59.39 kB / 0.7264 GB, free: 484 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.1593, allocations: 109.8 kB / 0.7265 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.1594, allocations: 33.7 kB / 0.7266 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.1594, allocations: 88.03 kB / 0.7266 GB, free: 232 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1594, allocations: 11.95 kB / 0.7267 GB, free: 220 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.1595, allocations: 37.62 kB / 0.7267 GB, free: 176 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1597, allocations: 314.8 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.1598, allocations: 31.98 kB / 0.727 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.1599, allocations: 50.56 kB / 0.7271 GB, free: 15.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.16, allocations: 84.27 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.16, allocations: 0 / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003077/0.1603, allocations: 155.3 kB / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.1603, allocations: 41.62 kB / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1603, allocations: 0 / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1604, allocations: 3.938 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/0.1604, allocations: 4 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1604, allocations: 0 / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1606, allocations: 31.92 kB / 0.7274 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1607, allocations: 7.984 kB / 0.7274 GB, free: 15.41 MB / 0.545 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 (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 0.0001001/0.1608, allocations: 125.8 kB / 0.7275 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.1608, allocations: 0 / 0.7275 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.1608, allocations: 3.906 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1608, allocations: 4 kB / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1608, allocations: 0 / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1608, allocations: 0 / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.1609, allocations: 165.6 kB / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1609, allocations: 0 / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.161, allocations: 4 kB / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.161, allocations: 4 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.161, allocations: 7.984 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.161, allocations: 0 / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.161, allocations: 3.938 kB / 0.7277 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1611, allocations: 89.23 kB / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1612, allocations: 81.05 kB / 0.7279 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1612, allocations: 4 kB / 0.7279 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.1612, allocations: 0 / 0.7279 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.1612, allocations: 11.98 kB / 0.7279 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1612, allocations: 8 kB / 0.7279 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.1613, allocations: 79.28 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1613, allocations: 3.938 kB / 0.728 GB, free: 14.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002276/0.1615, allocations: 23.98 kB / 0.728 GB, free: 14.7 MB / 0.545 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 (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.0004503/0.162, allocations: 0.624 MB / 0.7286 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1622, allocations: 115.4 kB / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1622, allocations: 0 / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.1622, allocations: 15.92 kB / 0.7287 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.1624, allocations: 11.98 kB / 0.7287 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.164, allocations: 1.381 MB / 0.7301 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1643, allocations: 0.6808 MB / 0.7307 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.1644, allocations: 3.938 kB / 0.7307 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1644, allocations: 19.42 kB / 0.7308 GB, free: 11.69 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.1644, allocations: 0 / 0.7308 GB, free: 11.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.189, allocations: 2.023 MB / 0.7327 GB, free: 9.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.185, allocations: 4.578 kB / 0.7327 GB, free: 9.789 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_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_BooleanToReal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.070922530954704] Failed to read output from testmodel.py, exit status != 0: 8.2552237350028 8.281574316 8.11955201 Calling exit ...