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.001543/0.001543, allocations: 119.1 kB / 17.13 MB, free: 5.941 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.001618/0.001618, allocations: 212.3 kB / 20.09 MB, free: 2.992 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.9562/0.9562, allocations: 150 MB / 459.5 MB, free: 5.352 MB / 350.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.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: 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.002175/0.002175, allocations: 73.2 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1659, allocations: 89.13 MB / 0.7232 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002735/0.1686, allocations: 1.53 MB / 0.7247 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.1695, allocations: 0.4889 MB / 0.7251 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.1696, allocations: 3.938 kB / 0.7251 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.1696, allocations: 3.938 kB / 0.7251 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.1696, allocations: 15.88 kB / 0.7252 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.1699, allocations: 31.94 kB / 0.7252 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.17, allocations: 55.73 kB / 0.7252 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.1701, allocations: 11.98 kB / 0.7253 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1702, allocations: 27.92 kB / 0.7253 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.1703, allocations: 27.84 kB / 0.7253 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1703, allocations: 4 kB / 0.7253 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.1704, allocations: 8 kB / 0.7253 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.1704, allocations: 15.92 kB / 0.7253 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.1704, allocations: 19.88 kB / 0.7254 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1705, allocations: 56.02 kB / 0.7254 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1706, allocations: 3.938 kB / 0.7254 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1706, allocations: 0 / 0.7254 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.1706, allocations: 0 / 0.7254 GB, free: 1.801 MB / 0.5294 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.0005854/0.1711, allocations: 372.9 kB / 0.7258 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1712, allocations: 8.031 kB / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.1712, allocations: 34.69 kB / 0.7258 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.1714, allocations: 28.88 kB / 0.7258 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1717, allocations: 188.2 kB / 0.726 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1717, allocations: 4.125 kB / 0.726 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1717, allocations: 0 / 0.726 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1719, allocations: 61.61 kB / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1719, allocations: 0 / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1719, allocations: 0 / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1719, allocations: 0 / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.172, allocations: 39.97 kB / 0.7261 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1724, allocations: 276.8 kB / 0.7264 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1725, allocations: 38.56 kB / 0.7264 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.1726, allocations: 24.94 kB / 0.7264 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1726, allocations: 4 kB / 0.7264 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1727, allocations: 30.56 kB / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1727, allocations: 0 / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003237/0.173, allocations: 97.72 kB / 0.7266 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.173, allocations: 51.41 kB / 0.7266 GB, free: 384 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1731, allocations: 117.8 kB / 0.7267 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1731, allocations: 25.7 kB / 0.7267 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.1732, allocations: 100.1 kB / 0.7268 GB, free: 120 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1732, allocations: 15.84 kB / 0.7269 GB, free: 104 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1733, allocations: 13.72 kB / 0.7269 GB, free: 84 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1734, allocations: 322.8 kB / 0.7272 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.1735, allocations: 19.98 kB / 0.7272 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.1736, allocations: 15.97 kB / 0.7272 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1737, allocations: 48.77 kB / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1737, allocations: 0 / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/0.1739, allocations: 73.62 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1739, allocations: 5.875 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1739, allocations: 3.938 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1739, allocations: 0 / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.174, allocations: 11.98 kB / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.174, allocations: 0 / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.1741, allocations: 15.92 kB / 0.7274 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1741, allocations: 0 / 0.7274 GB, free: 15.56 MB / 0.545 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 9.147e-05/0.1742, allocations: 113.8 kB / 0.7275 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1742, allocations: 4 kB / 0.7275 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.1742, allocations: 7.906 kB / 0.7275 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1742, allocations: 0 / 0.7275 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1742, allocations: 0 / 0.7275 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1742, allocations: 3.938 kB / 0.7275 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1744, allocations: 177.6 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1744, allocations: 4 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.1745, allocations: 15.92 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1745, allocations: 0 / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1745, allocations: 0 / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1745, allocations: 3.938 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1745, allocations: 0 / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1748, allocations: 171.5 kB / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1748, allocations: 85.06 kB / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1748, allocations: 4 kB / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1749, allocations: 0 / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.175, allocations: 7.984 kB / 0.7279 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.175, allocations: 3.938 kB / 0.7279 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.175, allocations: 101.6 kB / 0.728 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.175, allocations: 0 / 0.728 GB, free: 14.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002137/0.1753, allocations: 8 kB / 0.728 GB, free: 14.76 MB / 0.545 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.0005648/0.1758, allocations: 0.7007 MB / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.176, allocations: 35.97 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.176, allocations: 0 / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.1761, allocations: 27.92 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1763, allocations: 7.938 kB / 0.7288 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1779, allocations: 1.379 MB / 0.7301 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1782, allocations: 0.6846 MB / 0.7308 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.1783, allocations: 4 kB / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.1783, allocations: 23.42 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1783, allocations: 3.938 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2019, allocations: 1.585 MB / 0.7324 GB, free: 10.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.941, allocations: 13.56 kB / 0.7324 GB, free: 10.32 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.86576268216595] Failed to read output from testmodel.py, exit status != 0: 8.00667974492535 8.032951839 7.857689289 Calling exit ...