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.001391/0.001391, allocations: 119.2 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.001761/0.001761, allocations: 224.9 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.947/0.947, allocations: 150 MB / 463.2 MB, free: 10.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.002022/0.002022, allocations: 68.62 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 89.17 MB / 0.7283 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003403/0.1795, allocations: 1.919 MB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004878/0.1844, allocations: 3.74 MB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1845, allocations: 4 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.1854, allocations: 202.9 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1856, allocations: 79.48 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.1858, allocations: 47.91 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.1863, allocations: 287 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.1864, allocations: 13.75 kB / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1865, allocations: 87.69 kB / 0.7346 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1867, allocations: 87.55 kB / 0.7346 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.1867, allocations: 8 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.1868, allocations: 27.98 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.1869, allocations: 55.81 kB / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.187, allocations: 91.42 kB / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.1873, allocations: 207 kB / 0.735 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1873, allocations: 0 / 0.735 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1873, allocations: 0 / 0.735 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1873, allocations: 0 / 0.735 GB, free: 10.47 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.000906/0.1882, allocations: 484.7 kB / 0.7355 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1882, allocations: 8.031 kB / 0.7355 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.1883, allocations: 42.69 kB / 0.7355 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.1891, allocations: 120.6 kB / 0.7356 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1897, allocations: 214.5 kB / 0.7358 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1897, allocations: 3.938 kB / 0.7359 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1897, allocations: 11.97 kB / 0.7359 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.1901, allocations: 153.5 kB / 0.736 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1901, allocations: 0 / 0.736 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1901, allocations: 3.984 kB / 0.736 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.1901, allocations: 15.98 kB / 0.736 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.1906, allocations: 155.9 kB / 0.7362 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.1914, allocations: 443.5 kB / 0.7366 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.1918, allocations: 178.5 kB / 0.7368 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.1921, allocations: 112.8 kB / 0.7369 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1921, allocations: 3.984 kB / 0.7369 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1921, allocations: 38.81 kB / 0.7369 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1921, allocations: 7.875 kB / 0.7369 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008882/0.193, allocations: 329.3 kB / 0.7372 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1931, allocations: 55.34 kB / 0.7373 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1933, allocations: 252.2 kB / 0.7375 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1933, allocations: 25.7 kB / 0.7376 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1935, allocations: 140.1 kB / 0.7377 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.1935, allocations: 39.64 kB / 0.7377 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.1936, allocations: 33.7 kB / 0.7378 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1937, allocations: 334.8 kB / 0.7381 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.194, allocations: 83.92 kB / 0.7382 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.1942, allocations: 75.94 kB / 0.7382 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.1946, allocations: 195.7 kB / 0.7384 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1947, allocations: 0 / 0.7384 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005547/0.1952, allocations: 237.4 kB / 0.7386 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1952, allocations: 4 kB / 0.7387 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1952, allocations: 0 / 0.7387 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1952, allocations: 4 kB / 0.7387 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1955, allocations: 35.95 kB / 0.7387 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1956, allocations: 7.938 kB / 0.7387 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.1957, allocations: 19.86 kB / 0.7387 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1958, allocations: 7.984 kB / 0.7387 GB, free: 6.477 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.0001441/0.1959, allocations: 135.8 kB / 0.7389 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.196, allocations: 27.86 kB / 0.7389 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.196, allocations: 33.8 kB / 0.7389 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.196, allocations: 0 / 0.7389 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.196, allocations: 3.938 kB / 0.7389 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.196, allocations: 0 / 0.7389 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.1964, allocations: 260.5 kB / 0.7392 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1964, allocations: 0 / 0.7392 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.1966, allocations: 35.95 kB / 0.7392 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1966, allocations: 0 / 0.7392 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1966, allocations: 4 kB / 0.7392 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1966, allocations: 7.938 kB / 0.7392 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1967, allocations: 7.875 kB / 0.7392 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.1973, allocations: 331.3 kB / 0.7395 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1974, allocations: 51.72 kB / 0.7396 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1974, allocations: 4 kB / 0.7396 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1976, allocations: 11.98 kB / 0.7396 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.1977, allocations: 15.91 kB / 0.7396 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1977, allocations: 8 kB / 0.7396 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001674/0.1979, allocations: 179.1 kB / 0.7398 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1979, allocations: 0 / 0.7398 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002663/0.1981, allocations: 40 kB / 0.7398 GB, free: 5.281 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.0009511/0.1991, allocations: 0.8762 MB / 0.7407 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.1996, allocations: 184.5 kB / 0.7409 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1996, allocations: 4 kB / 0.7409 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.1999, allocations: 94.8 kB / 0.741 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.2003, allocations: 60.88 kB / 0.741 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.2038, allocations: 2.49 MB / 0.7434 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.2042, allocations: 0.7512 MB / 0.7442 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.2044, allocations: 57.39 kB / 0.7442 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2045, allocations: 63.41 kB / 0.7443 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.2045, allocations: 4 kB / 0.7443 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.2368, allocations: 5.235 MB / 0.7494 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.39, allocations: 8.188 kB / 0.7494 GB, free: 11.52 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.278682835167274] Failed to read output from testmodel.py, exit status != 0: 11.48953268607147 11.789960195 11.5996441 Calling exit ...