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.001635/0.001635, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001985/0.001985, allocations: 223.9 kB / 23.01 MB, free: 5.074 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9166/0.9166, allocations: 150 MB / 463.2 MB, free: 10.56 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.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.001961/0.001961, allocations: 67.12 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2074, allocations: 89.16 MB / 0.7284 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003011/0.2104, allocations: 1.538 MB / 0.7299 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.2113, allocations: 0.4987 MB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.2114, allocations: 0 / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.2114, allocations: 3.938 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.2115, allocations: 11.86 kB / 0.7304 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.2117, allocations: 35.89 kB / 0.7304 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.2118, allocations: 55.73 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.212, allocations: 11.97 kB / 0.7305 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2121, allocations: 31.92 kB / 0.7305 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.2122, allocations: 27.86 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2122, allocations: 8 kB / 0.7305 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.2123, allocations: 4 kB / 0.7305 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2123, allocations: 11.97 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.2123, allocations: 19.88 kB / 0.7306 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.2124, allocations: 56.03 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2125, allocations: 0 / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2125, allocations: 3.938 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2125, allocations: 0 / 0.7306 GB, free: 15.04 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.0005538/0.213, allocations: 294 kB / 0.7309 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2131, allocations: 12.03 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.2131, allocations: 34.75 kB / 0.7309 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.2133, allocations: 32.84 kB / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2135, allocations: 130.3 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2136, allocations: 8.125 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2136, allocations: 0 / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2137, allocations: 53.67 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2138, allocations: 4 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2138, allocations: 4 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2138, allocations: 0 / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2139, allocations: 35.91 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.2143, allocations: 240 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2144, allocations: 46.56 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.2145, allocations: 16.94 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2145, allocations: 8 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2145, allocations: 30.56 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2145, allocations: 0 / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003256/0.2149, allocations: 93.53 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2149, allocations: 55.41 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.215, allocations: 125.5 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.215, allocations: 29.7 kB / 0.7318 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.2151, allocations: 88.14 kB / 0.7319 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.2151, allocations: 7.906 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.2151, allocations: 21.7 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2153, allocations: 314.8 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.2154, allocations: 23.98 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.2154, allocations: 15.98 kB / 0.7323 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.2155, allocations: 44.77 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2155, allocations: 0 / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001811/0.2157, allocations: 69.67 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2157, allocations: 4 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2157, allocations: 0 / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2158, allocations: 7.984 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.2159, allocations: 8 kB / 0.7324 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2159, allocations: 0 / 0.7324 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.2159, allocations: 19.81 kB / 0.7324 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2159, allocations: 3.984 kB / 0.7324 GB, free: 13 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 9.282e-05/0.216, allocations: 115.8 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.216, allocations: 4 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.2161, allocations: 11.88 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2161, allocations: 4.328 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2161, allocations: 3.984 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2161, allocations: 3.938 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2163, allocations: 152.7 kB / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2163, allocations: 4 kB / 0.7327 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.2163, allocations: 11.98 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2163, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2163, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2163, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2163, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2166, allocations: 175.4 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.2166, allocations: 7.953 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2166, allocations: 0 / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.2167, allocations: 11.98 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2167, allocations: 0 / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2167, allocations: 3.938 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.2168, allocations: 95.27 kB / 0.733 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2168, allocations: 4 kB / 0.733 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002123/0.217, allocations: 8 kB / 0.733 GB, free: 12.32 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.0005531/0.2176, allocations: 0.7007 MB / 0.7337 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.2177, allocations: 43.97 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2177, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.2178, allocations: 27.91 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.218, allocations: 7.938 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2197, allocations: 1.381 MB / 0.7351 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.22, allocations: 0.6884 MB / 0.7358 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.2201, allocations: 0 / 0.7358 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.2201, allocations: 15.42 kB / 0.7358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2201, allocations: 0 / 0.7358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.2496, allocations: 1.664 MB / 0.7374 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.66, allocations: 7.375 kB / 0.7374 GB, free: 7.828 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.44778573000076] Failed to read output from testmodel.py, exit status != 0: 10.760317571002815 10.783822565 10.567023787 Calling exit ...