Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001835/0.001835, allocations: 109 kB / 20.48 MB, free: 1.473 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.002169/0.002169, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.434/1.434, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.9245/0.9245, allocations: 150 MB / 464 MB, free: 10.47 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.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.00198/0.00198, allocations: 74.66 kB / 0.642 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1803, allocations: 89.17 MB / 0.7291 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003357/0.1837, allocations: 1.928 MB / 0.731 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004727/0.1884, allocations: 3.736 MB / 0.7346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1885, allocations: 3.938 kB / 0.7346 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008569/0.1894, allocations: 199.4 kB / 0.7348 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1896, allocations: 79.47 kB / 0.7349 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.1897, allocations: 59.86 kB / 0.735 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.1903, allocations: 279.1 kB / 0.7352 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1904, allocations: 17.73 kB / 0.7352 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1905, allocations: 79.7 kB / 0.7353 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1907, allocations: 87.61 kB / 0.7354 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1907, allocations: 8 kB / 0.7354 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1908, allocations: 35.91 kB / 0.7355 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.1909, allocations: 51.83 kB / 0.7355 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.191, allocations: 87.42 kB / 0.7356 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.1913, allocations: 203 kB / 0.7358 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1913, allocations: 0 / 0.7358 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1913, allocations: 7.938 kB / 0.7358 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1913, allocations: 3.938 kB / 0.7358 GB, free: 10.33 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009046/0.1922, allocations: 480.7 kB / 0.7362 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1922, allocations: 12.03 kB / 0.7363 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.265e-05/0.1922, allocations: 192 / 0.7363 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.1923, allocations: 42.73 kB / 0.7363 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.1932, allocations: 124.6 kB / 0.7364 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.1937, allocations: 214.3 kB / 0.7366 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1937, allocations: 0 / 0.7366 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1937, allocations: 4 kB / 0.7366 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.1941, allocations: 169.4 kB / 0.7368 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1941, allocations: 0 / 0.7368 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1941, allocations: 0 / 0.7368 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.1942, allocations: 8 kB / 0.7368 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.1946, allocations: 155.9 kB / 0.7369 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.1954, allocations: 443.6 kB / 0.7374 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1958, allocations: 178.4 kB / 0.7375 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.1961, allocations: 116.7 kB / 0.7376 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1961, allocations: 3.984 kB / 0.7377 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1961, allocations: 34.81 kB / 0.7377 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1961, allocations: 0 / 0.7377 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0009047/0.1971, allocations: 325.2 kB / 0.738 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1971, allocations: 59.34 kB / 0.7381 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1973, allocations: 252.2 kB / 0.7383 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1974, allocations: 29.7 kB / 0.7383 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.1975, allocations: 132.1 kB / 0.7384 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.1975, allocations: 47.64 kB / 0.7385 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.1976, allocations: 29.7 kB / 0.7385 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1977, allocations: 338.8 kB / 0.7388 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.198, allocations: 79.92 kB / 0.7389 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1982, allocations: 83.17 kB / 0.739 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.1987, allocations: 188.7 kB / 0.7392 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1987, allocations: 0 / 0.7392 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000571/0.1993, allocations: 237.3 kB / 0.7394 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1993, allocations: 10.33 kB / 0.7394 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1993, allocations: 0 / 0.7394 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1993, allocations: 0 / 0.7394 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.1996, allocations: 39.91 kB / 0.7395 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1996, allocations: 4 kB / 0.7395 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.1998, allocations: 15.92 kB / 0.7395 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1998, allocations: 15.98 kB / 0.7395 GB, free: 6.348 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 (13): * Single equations (assignments): 13 * 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 0.0001403/0.1999, allocations: 133.8 kB / 0.7396 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.2, allocations: 27.8 kB / 0.7396 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.2001, allocations: 33.8 kB / 0.7397 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2001, allocations: 7.875 kB / 0.7397 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2001, allocations: 0 / 0.7397 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2001, allocations: 0 / 0.7397 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.2004, allocations: 252.5 kB / 0.7399 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2004, allocations: 0 / 0.7399 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.2007, allocations: 43.95 kB / 0.74 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2007, allocations: 3.938 kB / 0.74 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2007, allocations: 4 kB / 0.74 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.2007, allocations: 3.938 kB / 0.74 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2007, allocations: 3.984 kB / 0.74 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.2014, allocations: 342.6 kB / 0.7403 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2015, allocations: 43.73 kB / 0.7403 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.2015, allocations: 0 / 0.7403 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2017, allocations: 23.91 kB / 0.7404 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.2018, allocations: 11.97 kB / 0.7404 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2018, allocations: 4 kB / 0.7404 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001759/0.202, allocations: 191.1 kB / 0.7406 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.202, allocations: 0 / 0.7406 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002674/0.2022, allocations: 40 kB / 0.7406 GB, free: 5.141 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 (13): * Single equations (assignments): 13 * 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.0009636/0.2032, allocations: 0.8684 MB / 0.7415 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.2038, allocations: 183.8 kB / 0.7416 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2038, allocations: 0 / 0.7416 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.204, allocations: 99.86 kB / 0.7417 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.2045, allocations: 60.16 kB / 0.7418 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.208, allocations: 2.488 MB / 0.7442 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2084, allocations: 0.7512 MB / 0.7449 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000221/0.2086, allocations: 61.33 kB / 0.745 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2087, allocations: 71.39 kB / 0.7451 GB, free: 448 kB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2087, allocations: 0 / 0.7451 GB, free: 448 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.2341, allocations: 5.253 MB / 0.7502 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 18.41 kB / 0.7502 GB, free: 11.38 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.210428603051696] Failed to read output from testmodel.py, exit status != 0: 11.37112134200288 11.673135634 11.478789828 Calling exit ...