Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001308/0.001308, 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.001407/0.001407, allocations: 215.9 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.409/1.409, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.9362/0.9362, allocations: 150 MB / 464 MB, free: 10.49 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.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001922/0.001922, allocations: 69.89 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1755, allocations: 89.17 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003642/0.1791, allocations: 2.09 MB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005632/0.1848, allocations: 4.235 MB / 0.7353 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1849, allocations: 7.938 kB / 0.7353 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.1858, allocations: 202.6 kB / 0.7355 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1859, allocations: 67.42 kB / 0.7356 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.1867, allocations: 311.2 kB / 0.7359 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.1873, allocations: 394.8 kB / 0.7362 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1875, allocations: 32.56 kB / 0.7363 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.1876, allocations: 127.5 kB / 0.7364 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.1878, allocations: 127.4 kB / 0.7365 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1879, allocations: 16 kB / 0.7365 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.1885, allocations: 343.5 kB / 0.7369 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1886, allocations: 107.6 kB / 0.737 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1887, allocations: 147.1 kB / 0.7371 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.1894, allocations: 0.5331 MB / 0.7376 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1894, allocations: 0 / 0.7376 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1894, allocations: 0 / 0.7376 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1894, allocations: 0 / 0.7376 GB, free: 8.551 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001354/0.1908, allocations: 0.6964 MB / 0.7383 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1908, allocations: 8.031 kB / 0.7383 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.1908, allocations: 4.188 kB / 0.7383 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.1909, allocations: 42.75 kB / 0.7383 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.1919, allocations: 156.5 kB / 0.7385 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.1926, allocations: 312.3 kB / 0.7388 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1926, allocations: 8 kB / 0.7388 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.1927, allocations: 4 kB / 0.7388 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.1932, allocations: 215.5 kB / 0.739 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1932, allocations: 0 / 0.739 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1932, allocations: 0 / 0.739 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1932, allocations: 4 kB / 0.739 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.194, allocations: 263.7 kB / 0.7393 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1951, allocations: 0.5735 MB / 0.7398 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.1956, allocations: 186.3 kB / 0.74 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.196, allocations: 132.8 kB / 0.7401 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/0.196, allocations: 23.98 kB / 0.7402 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1961, allocations: 34.56 kB / 0.7402 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1961, allocations: 0 / 0.7402 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001349/0.1974, allocations: 475.2 kB / 0.7406 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1975, allocations: 63.34 kB / 0.7407 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.1979, allocations: 417.9 kB / 0.7411 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1979, allocations: 29.69 kB / 0.7411 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1981, allocations: 180.1 kB / 0.7413 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.1981, allocations: 39.62 kB / 0.7413 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.1982, allocations: 45.69 kB / 0.7414 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1984, allocations: 342.8 kB / 0.7417 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.1988, allocations: 175.9 kB / 0.7419 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.1993, allocations: 183.9 kB / 0.7421 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/0.2001, allocations: 369.5 kB / 0.7424 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2001, allocations: 0 / 0.7424 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001015/0.2011, allocations: 486.8 kB / 0.7429 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.2012, allocations: 49.62 kB / 0.7429 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2012, allocations: 3.938 kB / 0.7429 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2012, allocations: 0 / 0.7429 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.2016, allocations: 47.94 kB / 0.743 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2016, allocations: 0 / 0.743 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.2019, allocations: 47.8 kB / 0.743 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2019, allocations: 8 kB / 0.743 GB, free: 2.801 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001735/0.2021, allocations: 149.8 kB / 0.7432 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.2021, allocations: 35.77 kB / 0.7432 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2032, allocations: 376.5 kB / 0.7436 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2032, allocations: 4 kB / 0.7436 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2032, allocations: 4 kB / 0.7436 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2032, allocations: 3.938 kB / 0.7436 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.2036, allocations: 324.5 kB / 0.7439 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2036, allocations: 0 / 0.7439 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.2039, allocations: 51.94 kB / 0.7439 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2039, allocations: 0 / 0.7439 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.2039, allocations: 7.922 kB / 0.7439 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.204, allocations: 4 kB / 0.7439 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.204, allocations: 0 / 0.7439 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/0.2049, allocations: 441 kB / 0.7444 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.205, allocations: 55.67 kB / 0.7444 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.2051, allocations: 3.938 kB / 0.7444 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.2053, allocations: 35.91 kB / 0.7444 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.2054, allocations: 19.91 kB / 0.7445 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2054, allocations: 4 kB / 0.7445 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003067/0.2057, allocations: 295.1 kB / 0.7448 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2057, allocations: 0 / 0.7448 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004661/0.2062, allocations: 115.9 kB / 0.7449 GB, free: 0.8359 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 (11): * Single equations (assignments): 11 * 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.001519/0.2077, allocations: 1.044 MB / 0.7459 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2088, allocations: 475 kB / 0.7463 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2088, allocations: 4 kB / 0.7463 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.2092, allocations: 151.1 kB / 0.7465 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.2097, allocations: 57.62 kB / 0.7465 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006302/0.216, allocations: 4.28 MB / 0.7507 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2164, allocations: 0.7788 MB / 0.7515 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.2167, allocations: 65.91 kB / 0.7515 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2169, allocations: 111.3 kB / 0.7516 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.2169, allocations: 0 / 0.7516 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.2479, allocations: 8.764 MB / 0.7602 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.88, allocations: 16.91 kB / 0.7602 GB, free: 1.168 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.904722027014941] Failed to read output from testmodel.py, exit status != 0: 12.334948175004683 12.347187295 12.154767181 Calling exit ...