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.00125/0.00125, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001403/0.001403, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9157/0.9157, allocations: 149.9 MB / 463 MB, free: 10.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.002269/0.002269, allocations: 70.33 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1705, allocations: 89.16 MB / 0.7282 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003618/0.1741, allocations: 1.99 MB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.1798, allocations: 3.896 MB / 0.7339 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1799, allocations: 7.938 kB / 0.7339 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.1808, allocations: 183 kB / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.181, allocations: 67.44 kB / 0.7341 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.1818, allocations: 314.3 kB / 0.7344 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.1825, allocations: 398.7 kB / 0.7348 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1826, allocations: 32.56 kB / 0.7349 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1828, allocations: 115.6 kB / 0.735 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1831, allocations: 127.4 kB / 0.7351 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.1831, allocations: 16 kB / 0.7351 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.1837, allocations: 311.5 kB / 0.7354 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1838, allocations: 103.6 kB / 0.7355 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.184, allocations: 123.2 kB / 0.7356 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.1848, allocations: 0.5331 MB / 0.7361 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1848, allocations: 0 / 0.7361 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1848, allocations: 0 / 0.7361 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.1848, allocations: 0 / 0.7361 GB, free: 8.762 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.001522/0.1864, allocations: 0.6963 MB / 0.7368 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1864, allocations: 8.031 kB / 0.7368 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.866e-05/0.1865, allocations: 38.75 kB / 0.7369 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1876, allocations: 172.4 kB / 0.737 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.1884, allocations: 296.7 kB / 0.7373 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1884, allocations: 11.94 kB / 0.7373 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.1884, allocations: 8 kB / 0.7373 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.189, allocations: 201.5 kB / 0.7375 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.189, allocations: 4 kB / 0.7375 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.189, allocations: 4 kB / 0.7375 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.189, allocations: 4 kB / 0.7375 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.1898, allocations: 255.7 kB / 0.7378 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.191, allocations: 0.5502 MB / 0.7383 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.1915, allocations: 174.4 kB / 0.7385 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.1919, allocations: 140.8 kB / 0.7386 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.1919, allocations: 15.98 kB / 0.7386 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.192, allocations: 34.56 kB / 0.7387 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.192, allocations: 4 kB / 0.7387 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001375/0.1933, allocations: 469.4 kB / 0.7391 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1934, allocations: 51.41 kB / 0.7392 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.1939, allocations: 421.9 kB / 0.7396 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.1939, allocations: 29.69 kB / 0.7396 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1941, allocations: 180 kB / 0.7398 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.1941, allocations: 47.55 kB / 0.7398 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.1942, allocations: 45.69 kB / 0.7399 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1944, allocations: 346.8 kB / 0.7402 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.1948, allocations: 217.6 kB / 0.7404 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.1953, allocations: 223.2 kB / 0.7406 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/0.1962, allocations: 376.2 kB / 0.741 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1962, allocations: 7.875 kB / 0.741 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001096/0.1973, allocations: 0.524 MB / 0.7415 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.1973, allocations: 45.69 kB / 0.7415 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1974, allocations: 0 / 0.7415 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1974, allocations: 7.938 kB / 0.7415 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.1977, allocations: 47.88 kB / 0.7416 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1977, allocations: 0 / 0.7416 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.198, allocations: 43.81 kB / 0.7416 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.1981, allocations: 11.98 kB / 0.7416 GB, free: 2.895 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.0001855/0.1982, allocations: 157.8 kB / 0.7418 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.1983, allocations: 39.75 kB / 0.7418 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1994, allocations: 380.5 kB / 0.7422 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1994, allocations: 3.938 kB / 0.7422 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1994, allocations: 0 / 0.7422 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1994, allocations: 0 / 0.7422 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.1998, allocations: 288.6 kB / 0.7425 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1998, allocations: 0 / 0.7425 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.2001, allocations: 47.94 kB / 0.7425 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2001, allocations: 4 kB / 0.7425 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2001, allocations: 11.92 kB / 0.7425 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2001, allocations: 0 / 0.7425 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2002, allocations: 0 / 0.7425 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.2011, allocations: 439.9 kB / 0.7429 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.2012, allocations: 59.61 kB / 0.743 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.2013, allocations: 7.922 kB / 0.743 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.2016, allocations: 23.97 kB / 0.743 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.2017, allocations: 15.97 kB / 0.743 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2017, allocations: 8 kB / 0.7431 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003306/0.202, allocations: 295.1 kB / 0.7433 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.202, allocations: 0 / 0.7433 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004537/0.2025, allocations: 115.9 kB / 0.7434 GB, free: 0.9609 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.001579/0.204, allocations: 1.044 MB / 0.7445 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.2051, allocations: 487.4 kB / 0.7449 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2051, allocations: 0 / 0.7449 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.2055, allocations: 139.8 kB / 0.7451 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.206, allocations: 65.55 kB / 0.7451 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00674/0.2128, allocations: 4.444 MB / 0.7495 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.213, allocations: 179.2 kB / 0.7496 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.2133, allocations: 57.92 kB / 0.7497 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.2135, allocations: 111.4 kB / 0.7498 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.2135, allocations: 0 / 0.7498 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04003/0.2535, allocations: 9.482 MB / 0.7591 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.24, allocations: 7.984 kB / 0.7591 GB, free: 1.02 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.104669495020062] Failed to read output from testmodel.py, exit status != 0: 11.637689469847828 11.650454288 11.462609864 Calling exit ...