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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 112.6 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 194.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.079/1.079, allocations: 147.6 MB / 445.5 MB, free: 8.297 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.73 kB / 0.6109 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1562, allocations: 83.16 MB / 0.6922 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001954/0.1582, allocations: 0.683 MB / 0.6928 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1592, allocations: 0.7962 MB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1593, allocations: 5.188 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.1593, allocations: 3.938 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.1594, allocations: 4.906 kB / 0.6936 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 7.014e-05/0.1595, allocations: 13.17 kB / 0.6936 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.1596, allocations: 45.06 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1597, allocations: 16.42 kB / 0.6937 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.1598, allocations: 21.83 kB / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.1598, allocations: 22.42 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1598, allocations: 6.625 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.1598, allocations: 4.594 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.1599, allocations: 7.984 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1599, allocations: 16.09 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.16, allocations: 46.31 kB / 0.6938 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.16, allocations: 1.125 kB / 0.6938 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.16, allocations: 0 / 0.6938 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.16, allocations: 0 / 0.6938 GB, free: 11.99 MB / 0.5137 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.0005735/0.1606, allocations: 363.4 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1607, allocations: 9.625 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1607, allocations: 31.91 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.1608, allocations: 7.578 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1609, allocations: 178.1 kB / 0.6944 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1609, allocations: 1.688 kB / 0.6944 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1609, allocations: 6.062 kB / 0.6944 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1612, allocations: 67.25 kB / 0.6944 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1612, allocations: 5.719 kB / 0.6945 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1612, allocations: 8 kB / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1612, allocations: 0 / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.1615, allocations: 64.11 kB / 0.6945 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.1619, allocations: 263.2 kB / 0.6948 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1621, allocations: 63.34 kB / 0.6948 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1623, allocations: 35.33 kB / 0.6949 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1623, allocations: 2.031 kB / 0.6949 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1623, allocations: 30.56 kB / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1624, allocations: 3.938 kB / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005578/0.1629, allocations: 131.3 kB / 0.695 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.163, allocations: 51.41 kB / 0.6951 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1631, allocations: 115.4 kB / 0.6952 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1631, allocations: 25.7 kB / 0.6952 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1632, allocations: 93.47 kB / 0.6953 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1632, allocations: 5.328 kB / 0.6953 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1632, allocations: 12.47 kB / 0.6953 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1634, allocations: 320.2 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1636, allocations: 29.84 kB / 0.6956 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1637, allocations: 33.83 kB / 0.6957 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.164, allocations: 75.38 kB / 0.6958 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.164, allocations: 0 / 0.6958 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003358/0.1643, allocations: 101.4 kB / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.1644, allocations: 9.5 kB / 0.6959 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1644, allocations: 3.938 kB / 0.6959 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1644, allocations: 0 / 0.6959 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1645, allocations: 18.98 kB / 0.6959 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1646, allocations: 0 / 0.6959 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.1646, allocations: 10.86 kB / 0.6959 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1646, allocations: 1.688 kB / 0.6959 GB, free: 9.98 MB / 0.5137 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.902e-05/0.1647, allocations: 123.1 kB / 0.696 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1648, allocations: 6.75 kB / 0.696 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.1648, allocations: 9.281 kB / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1648, allocations: 0 / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1648, allocations: 0 / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1648, allocations: 1.375 kB / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1651, allocations: 164.5 kB / 0.6962 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1651, allocations: 1.375 kB / 0.6962 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.1652, allocations: 17.59 kB / 0.6962 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1652, allocations: 0 / 0.6962 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1652, allocations: 9.375 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1652, allocations: 0 / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1652, allocations: 0 / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.1656, allocations: 196.6 kB / 0.6964 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.1657, allocations: 86.41 kB / 0.6965 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1657, allocations: 9.312 kB / 0.6965 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1658, allocations: 9.484 kB / 0.6965 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1659, allocations: 6.75 kB / 0.6965 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1659, allocations: 1.281 kB / 0.6965 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.166, allocations: 92.59 kB / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.166, allocations: 0 / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002172/0.1662, allocations: 7.781 kB / 0.6966 GB, free: 9.242 MB / 0.5137 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.0007814/0.167, allocations: 0.7342 MB / 0.6973 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1673, allocations: 70.23 kB / 0.6974 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1673, allocations: 0 / 0.6974 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1675, allocations: 32.28 kB / 0.6974 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1678, allocations: 12.86 kB / 0.6974 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1683, allocations: 144.7 kB / 0.6976 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.1687, allocations: 0.6871 MB / 0.6982 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.1688, allocations: 5.031 kB / 0.6982 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.1688, allocations: 17.75 kB / 0.6983 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1688, allocations: 0 / 0.6983 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.1917, allocations: 1.626 MB / 0.6998 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.079, allocations: 1.172 kB / 0.6998 GB, free: 6.68 MB / 0.5137 GB " [Timeout remaining time 652] (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: 12.012444275896996] Failed to read output from testmodel.py, exit status != 0: 8.407027699053288 8.166630425 8.002880084 Calling exit ...