Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.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.001167/0.001167, 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.001275/0.001275, allocations: 208 kB / 23.04 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.754 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.8937/0.8937, allocations: 150 MB / 463.2 MB, free: 10.2 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.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",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.001909/0.001909, allocations: 66.72 kB / 0.6413 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1596, allocations: 89.17 MB / 0.7284 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001789/0.1614, allocations: 0.6772 MB / 0.7291 GB, free: 52 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.1624, allocations: 0.8237 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.1624, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.1624, allocations: 3.938 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.1625, allocations: 7.938 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.928e-05/0.1626, allocations: 19.97 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.1626, allocations: 43.8 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.1627, allocations: 11.98 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.1628, allocations: 11.98 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.1628, allocations: 23.91 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1628, allocations: 4 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.1629, allocations: 4 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.1629, allocations: 7.938 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1629, allocations: 19.86 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.45e-05/0.163, allocations: 44.09 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.163, allocations: 4 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.163, allocations: 0 / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.163, allocations: 0 / 0.7301 GB, free: 15.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004839/0.1635, allocations: 286.2 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1635, allocations: 12.03 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1636, allocations: 34.73 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.812e-05/0.1636, allocations: 0.9375 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1637, allocations: 126.4 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1637, allocations: 8.375 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1637, allocations: 4.312 kB / 0.7305 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1639, allocations: 66.22 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1639, allocations: 3.938 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.164, allocations: 4 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.164, allocations: 0 / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1642, allocations: 71.92 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1646, allocations: 235.9 kB / 0.7309 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1648, allocations: 54.55 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.165, allocations: 36.91 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.165, allocations: 0 / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.165, allocations: 34.56 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.165, allocations: 0 / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005118/0.1655, allocations: 133.5 kB / 0.7311 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1655, allocations: 51.41 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.1656, allocations: 113.8 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1657, allocations: 25.7 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1657, allocations: 84.12 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1657, allocations: 11.95 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1658, allocations: 13.72 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1659, allocations: 318.8 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.166, allocations: 31.95 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1662, allocations: 27.97 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1664, allocations: 76.72 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1664, allocations: 0 / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003205/0.1668, allocations: 101.5 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1668, allocations: 4 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1668, allocations: 0 / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1668, allocations: 4 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1669, allocations: 19.97 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1669, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.167, allocations: 11.98 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.167, allocations: 3.938 kB / 0.732 GB, free: 12.84 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 (3): * Single equations (assignments): 3 * 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.558e-05/0.1671, allocations: 117.8 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.1671, allocations: 3.953 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.1671, allocations: 8 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1671, allocations: 3.984 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1672, allocations: 4.266 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1672, allocations: 4 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1673, allocations: 136.7 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1673, allocations: 0 / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.1674, allocations: 15.98 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1674, allocations: 3.984 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.1674, allocations: 0 / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1674, allocations: 0 / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1674, allocations: 3.938 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1678, allocations: 203.4 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.1678, allocations: 7.891 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1678, allocations: 0 / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1679, allocations: 11.98 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.168, allocations: 7.984 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.168, allocations: 4 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.168, allocations: 83.28 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.168, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002197/0.1682, allocations: 8 kB / 0.7326 GB, free: 12.15 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 (3): * Single equations (assignments): 3 * 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.0006714/0.1689, allocations: 0.7319 MB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.1692, allocations: 63.92 kB / 0.7334 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1692, allocations: 4 kB / 0.7334 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1694, allocations: 39.95 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1697, allocations: 7.328 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.1701, allocations: 163 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.1702, allocations: 67.3 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.1702, allocations: 4 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.1702, allocations: 19.42 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1702, allocations: 0 / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.1977, allocations: 2.181 MB / 0.7358 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.28, allocations: 11.16 kB / 0.7358 GB, free: 8.93 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average_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_Average.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.718734355876222] Failed to read output from testmodel.py, exit status != 0: 10.381387853994966 10.402496718 10.235972275 Calling exit ...