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.001207/0.001207, allocations: 105 kB / 20.48 MB, free: 1.488 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.001439/0.001439, allocations: 216 kB / 23.79 MB, free: 4.703 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.463/1.463, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.9517/0.9517, allocations: 150 MB / 464 MB, free: 10.55 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="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.002874/0.002874, allocations: 61.95 kB / 0.642 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1889, allocations: 89.17 MB / 0.7291 GB, free: 1.379 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00286/0.1918, allocations: 1.545 MB / 0.7306 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009093/0.1927, allocations: 0.4947 MB / 0.7311 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1927, allocations: 4 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.1928, allocations: 3.938 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.1928, allocations: 11.86 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1931, allocations: 35.89 kB / 0.7312 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1932, allocations: 55.72 kB / 0.7312 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1933, allocations: 12 kB / 0.7312 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1935, allocations: 31.84 kB / 0.7313 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.1935, allocations: 31.84 kB / 0.7313 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1936, allocations: 8 kB / 0.7313 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.1936, allocations: 8 kB / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1936, allocations: 4 kB / 0.7313 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1937, allocations: 23.86 kB / 0.7313 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1938, allocations: 55.97 kB / 0.7314 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1938, allocations: 0 / 0.7314 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1938, allocations: 0 / 0.7314 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1938, allocations: 0 / 0.7314 GB, free: 15.05 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.0005462/0.1944, allocations: 290.1 kB / 0.7317 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1944, allocations: 16.03 kB / 0.7317 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.1944, allocations: 192 / 0.7317 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.1945, allocations: 34.75 kB / 0.7317 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.1947, allocations: 28.86 kB / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1949, allocations: 122.4 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.195, allocations: 15.88 kB / 0.7319 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.195, allocations: 0 / 0.7319 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1952, allocations: 57.67 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1952, allocations: 0 / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1952, allocations: 0 / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1952, allocations: 0 / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1953, allocations: 35.97 kB / 0.732 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1957, allocations: 244 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1959, allocations: 50.5 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.1959, allocations: 16.94 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.196, allocations: 4 kB / 0.7323 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.196, allocations: 34.56 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.196, allocations: 3.938 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003349/0.1963, allocations: 89.8 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1964, allocations: 59.33 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1965, allocations: 121.8 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1965, allocations: 29.7 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1966, allocations: 92.12 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1966, allocations: 7.906 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1966, allocations: 17.72 kB / 0.7327 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1968, allocations: 318.8 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.1968, allocations: 23.98 kB / 0.733 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.1969, allocations: 19.97 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.197, allocations: 40.83 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.197, allocations: 0 / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001751/0.1972, allocations: 73.61 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1972, allocations: 8 kB / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1972, allocations: 0 / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1972, allocations: 0 / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1974, allocations: 11.98 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1974, allocations: 0 / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.1974, allocations: 15.83 kB / 0.7332 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1974, allocations: 3.984 kB / 0.7332 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.569e-05/0.1975, allocations: 113.8 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1975, allocations: 4 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.1976, allocations: 11.94 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1976, allocations: 0 / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1976, allocations: 0 / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1976, allocations: 3.938 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1978, allocations: 148.7 kB / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1978, allocations: 0 / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.1978, allocations: 8 kB / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1978, allocations: 3.984 kB / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1979, allocations: 0 / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1979, allocations: 0 / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1979, allocations: 4 kB / 0.7335 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1981, allocations: 171.4 kB / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.1981, allocations: 7.938 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1981, allocations: 4 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.1982, allocations: 0 / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.1982, allocations: 15.92 kB / 0.7337 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1983, allocations: 4 kB / 0.7337 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.1983, allocations: 95.27 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1983, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002179/0.1985, allocations: 11.94 kB / 0.7338 GB, free: 12.33 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.0005652/0.1991, allocations: 0.7046 MB / 0.7345 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1993, allocations: 39.97 kB / 0.7345 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1993, allocations: 0 / 0.7345 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.1994, allocations: 19.98 kB / 0.7345 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1996, allocations: 6.438 kB / 0.7345 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.2012, allocations: 1.386 MB / 0.7359 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2015, allocations: 0.6885 MB / 0.7365 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2015, allocations: 0 / 0.7365 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.2015, allocations: 19.42 kB / 0.7366 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2015, allocations: 0 / 0.7366 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.222, allocations: 1.703 MB / 0.7382 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.86, allocations: 7.781 kB / 0.7382 GB, free: 7.816 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 & /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: 14.759352918015793] Failed to read output from testmodel.py, exit status != 0: 11.011781105014961 11.026104767 10.829321951 Calling exit ...