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.001838/0.001838, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001741/0.001741, allocations: 220.2 kB / 23.01 MB, free: 5.004 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.381/1.381, allocations: 230.6 MB / 256.8 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.9229/0.9229, allocations: 150 MB / 463.2 MB, free: 10.54 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.002102/0.002102, allocations: 66.97 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1793, allocations: 89.17 MB / 0.7283 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003552/0.1828, allocations: 2.102 MB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1884, allocations: 4.223 MB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1885, allocations: 11.94 kB / 0.7345 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008517/0.1894, allocations: 206.9 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.1895, allocations: 63.44 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.1903, allocations: 308.4 kB / 0.7351 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.1909, allocations: 402.8 kB / 0.7355 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.191, allocations: 28.58 kB / 0.7355 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1912, allocations: 123.5 kB / 0.7356 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1914, allocations: 123.5 kB / 0.7357 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.1914, allocations: 16 kB / 0.7357 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.192, allocations: 351.5 kB / 0.7361 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1921, allocations: 103.6 kB / 0.7362 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1922, allocations: 151.1 kB / 0.7363 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.1929, allocations: 0.5331 MB / 0.7368 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1929, allocations: 0 / 0.7368 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1929, allocations: 0 / 0.7368 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.1929, allocations: 0 / 0.7368 GB, free: 8.59 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.001418/0.1943, allocations: 0.7041 MB / 0.7375 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1944, allocations: 8.031 kB / 0.7375 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.1944, allocations: 38.75 kB / 0.7376 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.1955, allocations: 160.5 kB / 0.7377 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.1962, allocations: 300.7 kB / 0.738 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1962, allocations: 7.938 kB / 0.738 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.1962, allocations: 11.94 kB / 0.738 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.1967, allocations: 205.5 kB / 0.7382 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1967, allocations: 0 / 0.7382 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1968, allocations: 4 kB / 0.7382 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1968, allocations: 8 kB / 0.7382 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.1975, allocations: 255.8 kB / 0.7385 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1986, allocations: 0.5813 MB / 0.7391 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.1991, allocations: 178.5 kB / 0.7392 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.1994, allocations: 132.8 kB / 0.7394 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.1995, allocations: 27.92 kB / 0.7394 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1995, allocations: 38.48 kB / 0.7394 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1995, allocations: 4 kB / 0.7394 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.00127/0.2008, allocations: 471.6 kB / 0.7399 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2008, allocations: 55.41 kB / 0.7399 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.2013, allocations: 413.9 kB / 0.7403 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2013, allocations: 33.7 kB / 0.7403 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2015, allocations: 180 kB / 0.7405 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.2015, allocations: 43.61 kB / 0.7406 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.2016, allocations: 45.69 kB / 0.7406 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2018, allocations: 346.8 kB / 0.7409 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.2022, allocations: 175.9 kB / 0.7411 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.2026, allocations: 179.9 kB / 0.7413 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.2034, allocations: 369.6 kB / 0.7416 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2034, allocations: 7.938 kB / 0.7416 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009731/0.2044, allocations: 482.8 kB / 0.7421 GB, free: 3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.2044, allocations: 45.69 kB / 0.7421 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2044, allocations: 4 kB / 0.7421 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2045, allocations: 3.938 kB / 0.7421 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.2048, allocations: 47.94 kB / 0.7422 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.2048, allocations: 0 / 0.7422 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.2051, allocations: 39.81 kB / 0.7422 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2051, allocations: 11.92 kB / 0.7422 GB, free: 2.844 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.0001665/0.2053, allocations: 159.8 kB / 0.7424 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.2053, allocations: 31.77 kB / 0.7424 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.2063, allocations: 380.6 kB / 0.7428 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2063, allocations: 4 kB / 0.7428 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2063, allocations: 0 / 0.7428 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2063, allocations: 0 / 0.7428 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.2067, allocations: 320.4 kB / 0.7431 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2067, allocations: 0 / 0.7431 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.207, allocations: 55.88 kB / 0.7432 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.207, allocations: 0 / 0.7432 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.2071, allocations: 15.92 kB / 0.7432 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2071, allocations: 0 / 0.7432 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2071, allocations: 0 / 0.7432 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.2079, allocations: 433.7 kB / 0.7436 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.208, allocations: 55.67 kB / 0.7436 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.2081, allocations: 3.938 kB / 0.7436 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.2084, allocations: 27.95 kB / 0.7437 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.2084, allocations: 23.91 kB / 0.7437 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2085, allocations: 7.938 kB / 0.7437 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003042/0.2088, allocations: 303 kB / 0.744 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2088, allocations: 0 / 0.744 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004316/0.2092, allocations: 111.9 kB / 0.7441 GB, free: 0.8789 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.001406/0.2106, allocations: 1.036 MB / 0.7451 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009987/0.2116, allocations: 490.9 kB / 0.7456 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2116, allocations: 0 / 0.7456 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.212, allocations: 143.8 kB / 0.7457 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.2125, allocations: 67.84 kB / 0.7458 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/0.2185, allocations: 4.28 MB / 0.75 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.2189, allocations: 0.7905 MB / 0.7507 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.2191, allocations: 61.91 kB / 0.7508 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.2193, allocations: 107.4 kB / 0.7509 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2193, allocations: 0 / 0.7509 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/0.26, allocations: 8.74 MB / 0.7594 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.73, allocations: 6.984 kB / 0.7594 GB, free: 1.219 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.610144458012655] Failed to read output from testmodel.py, exit status != 0: 12.106049143942073 12.117247389 11.921719689 Calling exit ...