Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.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.001213/0.001213, allocations: 101.2 kB / 19.74 MB, free: 1.859 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.001314/0.001314, allocations: 204.2 kB / 23.04 MB, free: 5.02 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.873/0.873, allocations: 150 MB / 463.2 MB, free: 10.24 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.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",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.001856/0.001856, allocations: 71.64 kB / 0.6413 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1492, allocations: 89.17 MB / 0.7284 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001841/0.151, allocations: 0.6779 MB / 0.7291 GB, free: 56 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.152, allocations: 0.8354 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1521, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.1521, allocations: 3.938 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.1522, allocations: 3.938 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.285e-05/0.1523, allocations: 15.98 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.1523, allocations: 43.84 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.1524, allocations: 12 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.1525, allocations: 23.86 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.1525, allocations: 19.91 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1525, allocations: 4 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.1526, allocations: 4 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.1526, allocations: 7.984 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.1526, allocations: 11.94 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.702e-05/0.1527, allocations: 44.03 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1527, allocations: 0 / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1527, allocations: 0 / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1527, allocations: 0 / 0.7301 GB, free: 15.02 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.0004869/0.1532, allocations: 294.2 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1532, allocations: 12.03 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.1533, allocations: 34.75 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.1533, allocations: 0.9375 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1534, allocations: 122.4 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1534, allocations: 4.375 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1534, allocations: 384 / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1536, allocations: 74.14 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1537, allocations: 7.938 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1537, allocations: 4 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1537, allocations: 0 / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.1539, allocations: 63.92 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.1543, allocations: 224 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1545, allocations: 66.47 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1546, allocations: 32.92 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1546, allocations: 0 / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1547, allocations: 34.56 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1547, allocations: 0 / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.1552, allocations: 133.7 kB / 0.7311 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1552, allocations: 55.34 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.1553, allocations: 113.8 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1553, allocations: 29.7 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.1554, allocations: 80.14 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1554, allocations: 15.94 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.1554, allocations: 9.719 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1556, allocations: 318.8 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1557, allocations: 35.95 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1559, allocations: 31.95 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1561, allocations: 72.72 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1561, allocations: 0 / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.1564, allocations: 101.6 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1565, allocations: 8 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1565, allocations: 3.938 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1565, allocations: 3.938 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1566, allocations: 15.97 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1566, allocations: 4 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.1567, allocations: 7.984 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1567, allocations: 8 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.246e-05/0.1568, allocations: 113.8 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1568, allocations: 7.953 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.1571, allocations: 97.61 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1571, allocations: 4 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1571, allocations: 0 / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1571, allocations: 0 / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1573, allocations: 148.6 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1573, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.1574, allocations: 23.92 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1574, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1574, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1574, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1574, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1578, allocations: 203.4 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.1578, allocations: 3.953 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1578, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1579, allocations: 11.98 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.47e-05/0.1579, allocations: 3.984 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1579, allocations: 8 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.158, allocations: 79.28 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002075/0.1582, allocations: 12 kB / 0.7327 GB, free: 12.05 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.0006745/0.1589, allocations: 0.7357 MB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.1592, allocations: 64.2 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1592, allocations: 0 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1593, allocations: 43.89 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1596, allocations: 5.875 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.16, allocations: 159.3 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.1601, allocations: 67.28 kB / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.1601, allocations: 3.984 kB / 0.7337 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1601, allocations: 23.42 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1601, allocations: 0 / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.1881, allocations: 2.174 MB / 0.7359 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.22, allocations: 13.45 kB / 0.7359 GB, free: 8.828 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.594586946070194] Failed to read output from testmodel.py, exit status != 0: 10.318608893081546 10.333441924 10.177927688 Calling exit ...