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.001665/0.001665, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002018/0.002018, allocations: 215 kB / 23.78 MB, free: 4.523 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.426/1.426, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.9608/0.9608, allocations: 150 MB / 464 MB, free: 10.27 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.001976/0.001976, allocations: 74.73 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1994, allocations: 89.17 MB / 0.7291 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003258/0.2027, allocations: 1.498 MB / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2037, allocations: 466.9 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.2038, allocations: 0 / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.772e-05/0.2038, allocations: 7.875 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.2039, allocations: 15.86 kB / 0.731 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.2042, allocations: 27.95 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.2043, allocations: 55.8 kB / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2044, allocations: 15.97 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.2046, allocations: 35.86 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.2047, allocations: 23.86 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2047, allocations: 4 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.2048, allocations: 8 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.2048, allocations: 15.91 kB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2048, allocations: 11.94 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.205, allocations: 56.03 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.205, allocations: 0 / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.205, allocations: 0 / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.205, allocations: 0 / 0.7312 GB, free: 14.62 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.2055, allocations: 302 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2056, allocations: 12.03 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.2056, allocations: 4.125 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.2056, allocations: 34.75 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.2058, allocations: 24.88 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2061, allocations: 126.4 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2061, allocations: 7.938 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2061, allocations: 0 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2063, allocations: 57.67 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2063, allocations: 0 / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2063, allocations: 4 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2063, allocations: 3.984 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2064, allocations: 27.98 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.2068, allocations: 247.9 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2069, allocations: 34.56 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.207, allocations: 32.88 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.207, allocations: 0 / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.207, allocations: 34.55 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.207, allocations: 0 / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003154/0.2074, allocations: 97.53 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2074, allocations: 51.41 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2075, allocations: 129.8 kB / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2075, allocations: 25.7 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.2076, allocations: 92.14 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.2076, allocations: 11.91 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.2077, allocations: 13.7 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2078, allocations: 318.8 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.2079, allocations: 15.98 kB / 0.7329 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.2079, allocations: 19.98 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.208, allocations: 40.83 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.208, allocations: 0 / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001766/0.2082, allocations: 77.56 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2082, allocations: 7.984 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2082, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2083, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.2083, allocations: 8 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2084, allocations: 0 / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.2084, allocations: 19.86 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2084, allocations: 0 / 0.733 GB, free: 12.58 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.732e-05/0.2085, allocations: 115.8 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.2085, allocations: 0 / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.2086, allocations: 15.98 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2086, allocations: 0 / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2086, allocations: 0 / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2086, allocations: 7.875 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2088, allocations: 140.7 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2088, allocations: 0 / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.2088, allocations: 11.98 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2088, allocations: 0 / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2088, allocations: 0 / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2088, allocations: 4 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2088, allocations: 7.875 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.2091, allocations: 171.5 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.2091, allocations: 7.953 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2091, allocations: 0 / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.2092, allocations: 7.984 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2092, allocations: 3.938 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.2092, allocations: 0 / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.2093, allocations: 98.52 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2093, allocations: 4 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002271/0.2095, allocations: 12 kB / 0.7336 GB, free: 11.91 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.0005475/0.2101, allocations: 0.701 MB / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.2103, allocations: 44 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2103, allocations: 0 / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.2103, allocations: 28.06 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2106, allocations: 7.875 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.2122, allocations: 1.379 MB / 0.7357 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.308e-05/0.2122, allocations: 67.34 kB / 0.7358 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.2122, allocations: 4 kB / 0.7358 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.2123, allocations: 23.42 kB / 0.7358 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2123, allocations: 0 / 0.7358 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.2351, allocations: 1.72 MB / 0.7375 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.3, allocations: 8.047 kB / 0.7375 GB, free: 7.996 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: 15.104103721911088] Failed to read output from testmodel.py, exit status != 0: 11.466552514000796 11.490567211 11.281148874 Calling exit ...