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.0008196/0.0008196, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008553/0.0008553, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8876/0.8876, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 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.5753/0.5753, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.679e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001172/0.001189, allocations: 0.653 MB / 0.5549 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.001327, allocations: 7.984 kB / 0.5549 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.001368, allocations: 7.938 kB / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.294e-05/0.001461, allocations: 0 / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.001497, allocations: 0 / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 6.548e-05/0.001563, allocations: 3.984 kB / 0.5549 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.001643, allocations: 27.92 kB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.001757, allocations: 19.98 kB / 0.555 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.001789, allocations: 19.97 kB / 0.555 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.566e-05/0.001815, allocations: 15.94 kB / 0.555 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.001836, allocations: 4 kB / 0.555 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.001846, allocations: 4 kB / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.001875, allocations: 15.92 kB / 0.555 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.001898, allocations: 7.938 kB / 0.555 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.001985, allocations: 51.8 kB / 0.5551 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.001987, allocations: 0 / 0.5551 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.001988, allocations: 0 / 0.5551 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.001992, allocations: 0 / 0.5551 GB, free: 1.891 MB / 0.5105 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.0002587/0.00225, allocations: 267.8 kB / 0.5553 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.002291, allocations: 12.02 kB / 0.5553 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.002321, allocations: 38.75 kB / 0.5554 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.002342, allocations: 8.891 kB / 0.5554 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.002472, allocations: 125.7 kB / 0.5555 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002482, allocations: 4.375 kB / 0.5555 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.002492, allocations: 8.312 kB / 0.5555 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.002633, allocations: 78.17 kB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.002642, allocations: 4.188 kB / 0.5556 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.002651, allocations: 384 / 0.5556 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.002657, allocations: 8.125 kB / 0.5556 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.002714, allocations: 47.97 kB / 0.5556 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.003128, allocations: 462.2 kB / 0.5561 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.003201, allocations: 165.1 kB / 0.5562 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.003228, allocations: 80.14 kB / 0.5563 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.003249, allocations: 75.28 kB / 0.5564 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.003285, allocations: 113.8 kB / 0.5565 GB, free: 292 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.003286, allocations: 0 / 0.5565 GB, free: 292 kB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.753e-05/0.003354, allocations: 41.59 kB / 0.5565 GB, free: 244 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.003406, allocations: 126.7 kB / 0.5567 GB, free: 104 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.003554, allocations: 171.8 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.003565, allocations: 29.7 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.003621, allocations: 88.14 kB / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.003624, allocations: 8 kB / 0.5569 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.003651, allocations: 13.67 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.003743, allocations: 326.8 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.003757, allocations: 4.109 kB / 0.5573 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.003769, allocations: 11.92 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.003807, allocations: 24.78 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.003809, allocations: 0 / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.003921, allocations: 45.69 kB / 0.5574 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.003935, allocations: 4 kB / 0.5574 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.003942, allocations: 8.094 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.003957, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.004032, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.004038, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.004057, allocations: 11.89 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.004068, allocations: 7.984 kB / 0.5574 GB, free: 15.32 MB / 0.5261 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 7.996e-05/0.004148, allocations: 197 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.004193, allocations: 112.9 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.004234, allocations: 112.8 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/0.00428, allocations: 180.3 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-05/0.004326, allocations: 188.2 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-05/0.00437, allocations: 176.3 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.004542, allocations: 396.2 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003264/0.004869, allocations: 105 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.004893, allocations: 108.9 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-05/0.004934, allocations: 180.3 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.004981, allocations: 180.4 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.742e-05/0.005029, allocations: 184.2 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.564e-05/0.005074, allocations: 180.3 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.005172, allocations: 307.7 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.005211, allocations: 116.9 kB / 0.56 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.005265, allocations: 184.2 kB / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.005318, allocations: 105 kB / 0.5603 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.005363, allocations: 184.2 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.00539, allocations: 109 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.005463, allocations: 129.4 kB / 0.5607 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005463, allocations: 0 / 0.5607 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001466/0.00561, allocations: 11.98 kB / 0.5607 GB, free: 11.75 MB / 0.5261 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.0002546/0.005864, allocations: 0.8086 MB / 0.5615 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.441e-05/0.005928, allocations: 15.98 kB / 0.5615 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00593, allocations: 0 / 0.5615 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.005931, allocations: 3.938 kB / 0.5615 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.006232, allocations: 462.2 kB / 0.5619 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.007251, allocations: 1.605 MB / 0.5635 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.007308, allocations: 75.33 kB / 0.5636 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.007332, allocations: 11.98 kB / 0.5636 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.007373, allocations: 12.5 kB / 0.5636 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/0.007374, allocations: 0 / 0.5636 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02154, allocations: 2.277 MB / 0.5658 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.87, allocations: 9.516 kB / 0.5658 GB, free: 6.5 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.453170984983444] Failed to read output from testmodel.py, exit status != 0: 6.9536829218268394 6.961488883 6.957920284 Calling exit ...