Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.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.00134/0.00134, 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.001592/0.001592, allocations: 209.7 kB / 23.03 MB, free: 4.883 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.73 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.8843/0.8843, 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.MultiMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax",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: 72.06 kB / 0.6413 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1547, allocations: 89.17 MB / 0.7284 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001761/0.1564, allocations: 0.6313 MB / 0.729 GB, free: 80 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.1566, allocations: 15.94 kB / 0.729 GB, free: 64 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.1566, allocations: 0 / 0.729 GB, free: 64 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.819e-05/0.1567, allocations: 3.938 kB / 0.729 GB, free: 60 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.502e-05/0.1567, allocations: 4 kB / 0.729 GB, free: 56 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.498e-05/0.1568, allocations: 3.984 kB / 0.7291 GB, free: 52 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.1569, allocations: 31.86 kB / 0.7291 GB, free: 20 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.157, allocations: 19.97 kB / 0.7291 GB, free: 0 / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.157, allocations: 15.98 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.345e-05/0.1571, allocations: 15.88 kB / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1571, allocations: 4 kB / 0.7291 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.1571, allocations: 0 / 0.7291 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.1571, allocations: 15.94 kB / 0.7291 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.1572, allocations: 19.94 kB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.489e-05/0.1573, allocations: 52.02 kB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1573, allocations: 0 / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1573, allocations: 0 / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.1573, allocations: 0 / 0.7292 GB, free: 15.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003436/0.1576, allocations: 278.2 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1576, allocations: 12.03 kB / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1577, allocations: 38.69 kB / 0.7295 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.1577, allocations: 12.89 kB / 0.7295 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1579, allocations: 114.5 kB / 0.7297 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1579, allocations: 12.31 kB / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1579, allocations: 4.375 kB / 0.7297 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.158, allocations: 78.22 kB / 0.7297 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.158, allocations: 3.938 kB / 0.7297 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1581, allocations: 0 / 0.7297 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1581, allocations: 0 / 0.7297 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.1581, allocations: 55.91 kB / 0.7298 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1586, allocations: 442.3 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.1587, allocations: 177.1 kB / 0.7304 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.1587, allocations: 84.08 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.1588, allocations: 79.28 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.1588, allocations: 105.8 kB / 0.7306 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1588, allocations: 0 / 0.7306 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.995e-05/0.1589, allocations: 33.66 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.159, allocations: 138.5 kB / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1592, allocations: 171.8 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1592, allocations: 25.7 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.1592, allocations: 100.1 kB / 0.7311 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.1592, allocations: 0 / 0.7311 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1593, allocations: 21.7 kB / 0.7311 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1594, allocations: 315 kB / 0.7314 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.1594, allocations: 19.92 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.1594, allocations: 4 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.1595, allocations: 16.84 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1595, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.1596, allocations: 57.58 kB / 0.7315 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1596, allocations: 4 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1596, allocations: 0 / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1596, allocations: 0 / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.1597, allocations: 11.92 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.1597, allocations: 4.094 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.1597, allocations: 7.938 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1597, allocations: 0 / 0.7315 GB, free: 13.3 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 (1): * Single equations (assignments): 1 * 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 0.0001021/0.1598, allocations: 193.1 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.1599, allocations: 112.9 kB / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.1599, allocations: 112.7 kB / 0.7319 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/0.16, allocations: 180.2 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.983e-05/0.1601, allocations: 184.2 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/0.1602, allocations: 180.2 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1604, allocations: 384.3 kB / 0.7328 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-05/0.1605, allocations: 117 kB / 0.7329 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.1605, allocations: 105 kB / 0.733 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/0.1606, allocations: 176.3 kB / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/0.1607, allocations: 188.2 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.869e-05/0.1607, allocations: 184.2 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.1608, allocations: 180.2 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.161, allocations: 315.9 kB / 0.734 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.161, allocations: 109 kB / 0.7341 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.1611, allocations: 180.3 kB / 0.7343 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.1612, allocations: 112.8 kB / 0.7344 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.1613, allocations: 176.3 kB / 0.7346 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.1613, allocations: 116.9 kB / 0.7347 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001047/0.1615, allocations: 133.7 kB / 0.7348 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1615, allocations: 0 / 0.7348 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002185/0.1617, allocations: 4 kB / 0.7348 GB, free: 9.73 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 (0): * Single equations (assignments): 0 * 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.0004548/0.1621, allocations: 0.8048 MB / 0.7356 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.1622, allocations: 12 kB / 0.7356 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1622, allocations: 7.875 kB / 0.7356 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.1622, allocations: 0 / 0.7356 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1627, allocations: 475.7 kB / 0.7361 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.164, allocations: 1.596 MB / 0.7376 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.834e-05/0.1641, allocations: 75.27 kB / 0.7377 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.1641, allocations: 11.98 kB / 0.7377 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.1642, allocations: 19.42 kB / 0.7377 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1642, allocations: 0 / 0.7377 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.1917, allocations: 2.143 MB / 0.7398 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.917/10.11, allocations: 9.75 kB / 0.7398 GB, free: 4.605 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.504136361880228] Failed to read output from testmodel.py, exit status != 0: 10.225551854120567 10.239727147 10.079651026 Calling exit ...