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.001733/0.001733, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.002179/0.002179, allocations: 203.1 kB / 20.8 MB, free: 2.371 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.448/1.448, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9808/0.9808, allocations: 150 MB / 460.2 MB, free: 5.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="cs",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.002097/0.002097, allocations: 68.84 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1888, allocations: 89.13 MB / 0.7238 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003189/0.192, allocations: 1.531 MB / 0.7253 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.193, allocations: 0.4889 MB / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.193, allocations: 0 / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.193, allocations: 3.938 kB / 0.7258 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.1931, allocations: 11.88 kB / 0.7258 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1934, allocations: 35.88 kB / 0.7259 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1935, allocations: 55.78 kB / 0.7259 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1936, allocations: 12 kB / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1938, allocations: 39.84 kB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.1939, allocations: 23.86 kB / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1939, allocations: 4 kB / 0.726 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.194, allocations: 7.984 kB / 0.726 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.194, allocations: 7.938 kB / 0.726 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.194, allocations: 23.86 kB / 0.726 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1942, allocations: 56.03 kB / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1942, allocations: 3.938 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.946e-06/0.1942, allocations: 0 / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1942, allocations: 4 kB / 0.7261 GB, free: 1.715 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.0006343/0.1948, allocations: 369.1 kB / 0.7264 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1949, allocations: 8.031 kB / 0.7265 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.343e-05/0.1949, allocations: 192 / 0.7265 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.1949, allocations: 34.75 kB / 0.7265 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.1952, allocations: 28.86 kB / 0.7265 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1955, allocations: 184.3 kB / 0.7267 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1955, allocations: 11.88 kB / 0.7267 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1955, allocations: 0 / 0.7267 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1957, allocations: 53.67 kB / 0.7268 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1957, allocations: 0 / 0.7268 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1957, allocations: 4 kB / 0.7268 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1957, allocations: 3.984 kB / 0.7268 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1959, allocations: 31.97 kB / 0.7268 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.1963, allocations: 280.8 kB / 0.7271 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1964, allocations: 46.5 kB / 0.7271 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.1965, allocations: 20.94 kB / 0.7271 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1965, allocations: 4 kB / 0.7271 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1966, allocations: 34.56 kB / 0.7272 GB, free: 460 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1966, allocations: 0 / 0.7272 GB, free: 460 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.00032/0.1969, allocations: 89.59 kB / 0.7272 GB, free: 364 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1969, allocations: 55.34 kB / 0.7273 GB, free: 296 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.197, allocations: 128 kB / 0.7274 GB, free: 160 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.197, allocations: 29.7 kB / 0.7274 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.1971, allocations: 88.14 kB / 0.7275 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1971, allocations: 15.84 kB / 0.7275 GB, free: 16 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.1972, allocations: 21.77 kB / 0.7276 GB, free: 15.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1973, allocations: 310.8 kB / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.1974, allocations: 19.92 kB / 0.7279 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.1975, allocations: 15.98 kB / 0.7279 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1976, allocations: 40.83 kB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1976, allocations: 8 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002241/0.1978, allocations: 77.56 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1979, allocations: 7.938 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1979, allocations: 0 / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1979, allocations: 3.984 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.198, allocations: 8 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.198, allocations: 0 / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.198, allocations: 11.92 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.198, allocations: 4 kB / 0.7281 GB, free: 15.47 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 8.596e-05/0.1981, allocations: 113.8 kB / 0.7282 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1981, allocations: 4 kB / 0.7282 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.1982, allocations: 3.906 kB / 0.7282 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1982, allocations: 0 / 0.7282 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1982, allocations: 3.984 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1982, allocations: 3.938 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1984, allocations: 177.6 kB / 0.7283 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1984, allocations: 0 / 0.7283 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.1984, allocations: 15.98 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1984, allocations: 0 / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1984, allocations: 0 / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1984, allocations: 0 / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1985, allocations: 3.984 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1987, allocations: 171.7 kB / 0.7285 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1987, allocations: 81.11 kB / 0.7286 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1987, allocations: 11.98 kB / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.1988, allocations: 7.922 kB / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.1989, allocations: 11.94 kB / 0.7286 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1989, allocations: 0 / 0.7286 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.279e-05/0.1989, allocations: 97.77 kB / 0.7287 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1989, allocations: 0 / 0.7287 GB, free: 14.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002121/0.1992, allocations: 8 kB / 0.7287 GB, free: 14.67 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.0005417/0.1997, allocations: 0.7046 MB / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1999, allocations: 35.97 kB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1999, allocations: 0 / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.5e-05/0.2, allocations: 19.97 kB / 0.7295 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2002, allocations: 15.94 kB / 0.7295 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2018, allocations: 1.379 MB / 0.7308 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2021, allocations: 0.6807 MB / 0.7315 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.2021, allocations: 8 kB / 0.7315 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.2022, allocations: 15.42 kB / 0.7315 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.2022, allocations: 0 / 0.7315 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.2203, allocations: 1.624 MB / 0.7331 GB, free: 10.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.332, allocations: 20.22 kB / 0.7331 GB, free: 10.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 12.212274564022664] Failed to read output from testmodel.py, exit status != 0: 8.45564506802475 8.481862889 8.28284365 Calling exit ...