Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001231/0.001231, allocations: 105.2 kB / 19.74 MB, free: 2.004 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.001316/0.001316, allocations: 201 kB / 23.03 MB, free: 4.891 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.1 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.89/0.89, allocations: 150 MB / 463.2 MB, free: 10.19 MB / 366.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.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",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.001898/0.001898, allocations: 67 kB / 0.6413 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 89.18 MB / 0.7284 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001753/0.1606, allocations: 0.6345 MB / 0.729 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1616, allocations: 0.8393 MB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.1616, allocations: 7.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.1617, allocations: 7.922 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.1617, allocations: 3.938 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1619, allocations: 11.98 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.162, allocations: 23.92 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.1621, allocations: 4 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.1621, allocations: 15.92 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.114e-05/0.1621, allocations: 7.984 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1621, allocations: 0 / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.531e-05/0.1622, allocations: 4 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1622, allocations: 15.94 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.1622, allocations: 7.984 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.1623, allocations: 28.12 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1623, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1623, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.1623, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 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.0004043/0.1627, allocations: 262.3 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1628, allocations: 12.02 kB / 0.7302 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.1628, allocations: 30.75 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.1629, allocations: 8.938 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.163, allocations: 114.4 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.163, allocations: 4.375 kB / 0.7304 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.163, allocations: 8.359 kB / 0.7304 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1632, allocations: 46.23 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1632, allocations: 3.938 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1632, allocations: 4 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1632, allocations: 0 / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.1633, allocations: 35.95 kB / 0.7305 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.1636, allocations: 212.1 kB / 0.7307 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1638, allocations: 42.42 kB / 0.7307 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.1638, allocations: 20.91 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1639, allocations: 4 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1639, allocations: 30.56 kB / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1639, allocations: 3.938 kB / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003322/0.1642, allocations: 89.58 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1643, allocations: 51.41 kB / 0.7309 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.1643, allocations: 101.8 kB / 0.731 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1644, allocations: 25.7 kB / 0.731 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.1644, allocations: 84.14 kB / 0.7311 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.1644, allocations: 7.891 kB / 0.7311 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1645, allocations: 17.72 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1646, allocations: 310.8 kB / 0.7314 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1647, allocations: 19.91 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.1648, allocations: 20.11 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1649, allocations: 36.83 kB / 0.7315 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1649, allocations: 3.938 kB / 0.7315 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.1651, allocations: 69.59 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1651, allocations: 4 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1651, allocations: 4.094 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1651, allocations: 4 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.1652, allocations: 7.984 kB / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1652, allocations: 0 / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1653, allocations: 4 kB / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.1653, allocations: 0 / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.131e-05/0.1653, allocations: 121.8 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1654, allocations: 3.953 kB / 0.7317 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1656, allocations: 76.97 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1656, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1656, allocations: 3.938 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1656, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1657, allocations: 124.7 kB / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1657, allocations: 0 / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.1658, allocations: 15.98 kB / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1658, allocations: 0 / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1658, allocations: 0 / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1658, allocations: 0 / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1658, allocations: 4.031 kB / 0.7319 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.166, allocations: 163.5 kB / 0.7321 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.166, allocations: 4 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1661, allocations: 3.938 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.709e-05/0.1661, allocations: 11.98 kB / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1662, allocations: 192 / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1662, allocations: 0 / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.081e-05/0.1662, allocations: 83.27 kB / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1662, allocations: 4.031 kB / 0.7322 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002052/0.1664, allocations: 7.938 kB / 0.7322 GB, free: 12.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005377/0.167, allocations: 0.7007 MB / 0.7329 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1671, allocations: 31.97 kB / 0.7329 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1671, allocations: 96 / 0.7329 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.1672, allocations: 31.91 kB / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.1675, allocations: 3.938 kB / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.1679, allocations: 154.5 kB / 0.7331 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.347e-05/0.1679, allocations: 59.34 kB / 0.7332 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.1679, allocations: 0 / 0.7332 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.168, allocations: 7.438 kB / 0.7332 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.168, allocations: 4.062 kB / 0.7332 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.1949, allocations: 1.803 MB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.978/10.17, allocations: 3.484 kB / 0.7349 GB, free: 9.742 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.615054786903784] Failed to read output from testmodel.py, exit status != 0: 10.28079579398036 10.295245728 10.130180991 Calling exit ...