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.001752/0.001752, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002192/0.002192, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.946/0.946, allocations: 149.9 MB / 463 MB, free: 10.36 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.002007/0.002007, allocations: 67.55 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1865, allocations: 89.18 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002927/0.1894, allocations: 1.508 MB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.1903, allocations: 462.9 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.1904, allocations: 0 / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.1904, allocations: 3.938 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.1905, allocations: 15.81 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1907, allocations: 39.94 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1908, allocations: 55.73 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.1909, allocations: 7.984 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1911, allocations: 39.84 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.1911, allocations: 23.86 kB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1911, allocations: 4 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.1912, allocations: 8 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1912, allocations: 11.92 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1912, allocations: 15.88 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1914, allocations: 59.95 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1914, allocations: 4 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1914, allocations: 0 / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.1914, allocations: 0 / 0.7304 GB, free: 14.77 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.0005063/0.1919, allocations: 294.1 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1919, allocations: 12.03 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.192, allocations: 30.75 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.1922, allocations: 20.88 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1924, allocations: 134.4 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1924, allocations: 8.125 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1924, allocations: 0 / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1926, allocations: 53.67 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1926, allocations: 0 / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1926, allocations: 4 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1926, allocations: 3.984 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1927, allocations: 27.98 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1931, allocations: 243.9 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1932, allocations: 42.56 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.1933, allocations: 20.94 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1933, allocations: 4 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1933, allocations: 38.55 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1933, allocations: 0 / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003106/0.1936, allocations: 89.55 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1937, allocations: 55.41 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1938, allocations: 125 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1938, allocations: 25.7 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.1939, allocations: 92.14 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1939, allocations: 7.906 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1939, allocations: 21.7 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.194, allocations: 318.8 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.1941, allocations: 15.98 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.1942, allocations: 19.98 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1943, allocations: 48.77 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1943, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001791/0.1945, allocations: 77.56 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1945, allocations: 11.98 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1945, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1945, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.1946, allocations: 8 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1946, allocations: 3.938 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.1947, allocations: 15.86 kB / 0.7322 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1947, allocations: 4 kB / 0.7322 GB, free: 12.73 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 8.449e-05/0.1948, allocations: 105.8 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1948, allocations: 8.328 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.1948, allocations: 11.98 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1948, allocations: 3.984 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1948, allocations: 0 / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1948, allocations: 3.938 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1951, allocations: 140.7 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1951, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.1951, allocations: 11.98 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1951, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1951, allocations: 4 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1951, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1951, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1954, allocations: 175.4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.1954, allocations: 3.953 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1954, allocations: 4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.1955, allocations: 3.984 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1955, allocations: 8 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.1955, allocations: 3.938 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.1956, allocations: 99.27 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1956, allocations: 0 / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002107/0.1958, allocations: 8 kB / 0.7327 GB, free: 12.07 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.0005226/0.1963, allocations: 0.7007 MB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1965, allocations: 39.95 kB / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1965, allocations: 0 / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.1966, allocations: 19.98 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1968, allocations: 16.64 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.1983, allocations: 1.371 MB / 0.7348 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.239e-05/0.1983, allocations: 71.34 kB / 0.7349 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.1984, allocations: 0 / 0.7349 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1984, allocations: 23.42 kB / 0.7349 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1984, allocations: 0 / 0.7349 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.2281, allocations: 2.071 MB / 0.7369 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.81, allocations: 5.953 kB / 0.7369 GB, free: 7.797 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.711606322787702] Failed to read output from testmodel.py, exit status != 0: 10.908232301939279 10.92407846 10.729610896 Calling exit ...