Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0008605/0.0008605, 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.0008676/0.0008676, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8992/0.8992, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5653/0.5653, allocations: 114 MB / 373.9 MB, free: 8.691 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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 4 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.736e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001827/0.001845, allocations: 1.518 MB / 0.5557 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006824/0.002527, allocations: 462.9 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.002589, allocations: 3.938 kB / 0.5561 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.002618, allocations: 3.938 kB / 0.5561 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.002669, allocations: 15.86 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.002915, allocations: 31.89 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.003028, allocations: 55.73 kB / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.003133, allocations: 15.97 kB / 0.5562 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.003298, allocations: 39.84 kB / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.00336, allocations: 19.98 kB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.003375, allocations: 0 / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.003418, allocations: 8 kB / 0.5563 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.003433, allocations: 15.91 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.003455, allocations: 19.88 kB / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003574, allocations: 51.86 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003576, allocations: 0 / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/0.003577, allocations: 0 / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.003581, allocations: 0 / 0.5564 GB, free: 0.5156 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003817/0.003963, allocations: 290.1 kB / 0.5567 GB, free: 208 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.004003, allocations: 12.03 kB / 0.5567 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.004034, allocations: 34.75 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.004168, allocations: 28.81 kB / 0.5567 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.004342, allocations: 121.7 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004352, allocations: 4.375 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.004361, allocations: 384 / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.004492, allocations: 65.55 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.0045, allocations: 0 / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.004512, allocations: 8 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004517, allocations: 0 / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.004595, allocations: 35.91 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.0049, allocations: 236 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.004995, allocations: 42.55 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.005037, allocations: 28.88 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.005058, allocations: 0 / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.005079, allocations: 38.5 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.00508, allocations: 0 / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000232/0.005312, allocations: 93.78 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.005344, allocations: 51.41 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.005424, allocations: 128.7 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.00544, allocations: 25.7 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.005508, allocations: 88.08 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.005526, allocations: 11.95 kB / 0.5577 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.005553, allocations: 13.7 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.005634, allocations: 326.8 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.005673, allocations: 15.98 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.005707, allocations: 19.92 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.005781, allocations: 40.83 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005783, allocations: 0 / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.005884, allocations: 77.61 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.005897, allocations: 4 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.005902, allocations: 4 kB / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.005915, allocations: 0 / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.005979, allocations: 8 kB / 0.5582 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.005986, allocations: 3.984 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.006012, allocations: 4 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.006019, allocations: 0 / 0.5582 GB, free: 14.5 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 (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 6.631e-05/0.006086, allocations: 121.7 kB / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.0061, allocations: 7.891 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.006123, allocations: 15.98 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006125, allocations: 4 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006129, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006132, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.00625, allocations: 144.7 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006251, allocations: 0 / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.006281, allocations: 11.98 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006283, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.006289, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00629, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.006292, allocations: 4 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.006426, allocations: 175.4 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.006434, allocations: 7.953 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.006446, allocations: 0 / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.006483, allocations: 7.984 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.006521, allocations: 7.938 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.006524, allocations: 3.938 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.006564, allocations: 95.27 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006564, allocations: 0 / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001462/0.00671, allocations: 8 kB / 0.5588 GB, free: 13.82 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 (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.0003198/0.00703, allocations: 0.7007 MB / 0.5594 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.007157, allocations: 43.89 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007158, allocations: 0 / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.007195, allocations: 20.31 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.007358, allocations: 7.062 kB / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.008363, allocations: 1.384 MB / 0.5609 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.008413, allocations: 67.34 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.008438, allocations: 3.984 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.008481, allocations: 20.5 kB / 0.5609 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.008482, allocations: 4 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.02236, allocations: 2.194 MB / 0.5631 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.222, allocations: 13.52 kB / 0.5631 GB, free: 9.434 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.794200216419995] Failed to read output from testmodel.py, exit status != 0: 7.299266152083874 7.308748891 7.302663331 Calling exit ...