Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001211/0.001211, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001348/0.001348, allocations: 208 kB / 23.03 MB, free: 4.887 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.335/1.335, 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.8954/0.8954, allocations: 150 MB / 463.2 MB, free: 10.18 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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",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.001986/0.001986, allocations: 75.06 kB / 0.6413 GB, free: 9.781 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1546, allocations: 89.18 MB / 0.7284 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.001704/0.1563, allocations: 0.6634 MB / 0.7291 GB, free: 24 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.1572, allocations: 0.8315 MB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.1572, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.1572, allocations: 3.938 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.1573, allocations: 7.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.321e-05/0.1574, allocations: 15.98 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.1574, allocations: 35.92 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.1575, allocations: 11.98 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1576, allocations: 23.86 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.1576, allocations: 19.91 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1576, allocations: 4 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.1576, allocations: 4 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1577, allocations: 4 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1577, allocations: 23.86 kB / 0.73 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.792e-05/0.1578, allocations: 40.09 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1578, allocations: 4 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1578, allocations: 0 / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1578, allocations: 0 / 0.7301 GB, free: 14.98 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.0004594/0.1582, allocations: 290.2 kB / 0.7303 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1583, allocations: 15.95 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.1583, allocations: 34.75 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.1583, allocations: 4.938 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1584, allocations: 118.4 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1584, allocations: 384 / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1584, allocations: 4.375 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1587, allocations: 74.16 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1587, allocations: 3.938 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1587, allocations: 3.984 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1587, allocations: 0 / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.159, allocations: 63.92 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.1593, allocations: 240 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1595, allocations: 54.48 kB / 0.7309 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1596, allocations: 40.91 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1596, allocations: 4 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1597, allocations: 30.56 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1597, allocations: 4 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005067/0.1602, allocations: 133.5 kB / 0.7311 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1602, allocations: 51.41 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.1603, allocations: 109.8 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1603, allocations: 29.64 kB / 0.7313 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1604, allocations: 88.14 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1604, allocations: 3.953 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1604, allocations: 21.72 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1606, allocations: 314.8 kB / 0.7317 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1607, allocations: 31.97 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1608, allocations: 31.95 kB / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1611, allocations: 72.73 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1611, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003181/0.1614, allocations: 101.6 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1614, allocations: 4 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1614, allocations: 0 / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1615, allocations: 3.938 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1616, allocations: 15.98 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1616, allocations: 4 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.1616, allocations: 15.98 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1617, allocations: 0 / 0.732 GB, free: 12.81 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.101e-05/0.1617, allocations: 113.8 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1618, allocations: 7.938 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.1618, allocations: 8 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1618, allocations: 4 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1618, allocations: 0 / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1618, allocations: 3.938 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.162, allocations: 140.7 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.162, allocations: 0 / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.162, allocations: 11.98 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1621, allocations: 8.312 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1621, allocations: 4 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1621, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1621, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.1624, allocations: 199.3 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.1624, allocations: 11.89 kB / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1624, allocations: 0 / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1626, allocations: 19.97 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.47e-05/0.1626, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1626, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.1626, allocations: 95.2 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1626, allocations: 0 / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002055/0.1628, allocations: 8 kB / 0.7326 GB, free: 12.11 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.0006568/0.1635, allocations: 0.724 MB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.1638, allocations: 71.92 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1638, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.164, allocations: 35.97 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1642, allocations: 12.39 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.1646, allocations: 151.1 kB / 0.7336 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.1647, allocations: 67.3 kB / 0.7336 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.1647, allocations: 4 kB / 0.7336 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1647, allocations: 27.36 kB / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1647, allocations: 0 / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.1924, allocations: 2.188 MB / 0.7358 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.29, allocations: 5.703 kB / 0.7358 GB, free: 8.891 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.736998138017952] Failed to read output from testmodel.py, exit status != 0: 10.404020687099546 10.418694493 10.258053392999999 Calling exit ...