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.001419/0.001419, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001374/0.001374, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.371/1.371, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.91/0.91, allocations: 150 MB / 463.9 MB, free: 10.21 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.00196/0.00196, allocations: 66.34 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1734, allocations: 89.17 MB / 0.729 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00314/0.1766, allocations: 1.835 MB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.1808, allocations: 3.448 MB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1809, allocations: 7.938 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.1817, allocations: 179.5 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1819, allocations: 83.45 kB / 0.7345 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.182, allocations: 43.94 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.1825, allocations: 287 kB / 0.7348 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.1826, allocations: 13.75 kB / 0.7348 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1827, allocations: 87.69 kB / 0.7349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1829, allocations: 79.67 kB / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1829, allocations: 8 kB / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.183, allocations: 31.86 kB / 0.735 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.183, allocations: 59.81 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1831, allocations: 75.53 kB / 0.7351 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1834, allocations: 199 kB / 0.7353 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1834, allocations: 0 / 0.7353 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1834, allocations: 0 / 0.7353 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.1834, allocations: 4 kB / 0.7353 GB, free: 10.34 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.0008345/0.1842, allocations: 476.8 kB / 0.7358 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1843, allocations: 12.03 kB / 0.7358 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.124e-05/0.1843, allocations: 4.188 kB / 0.7358 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1843, allocations: 42.73 kB / 0.7358 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/0.1852, allocations: 116.7 kB / 0.7359 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.1857, allocations: 218.3 kB / 0.7361 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1857, allocations: 4 kB / 0.7361 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1857, allocations: 3.984 kB / 0.7362 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1861, allocations: 161.4 kB / 0.7363 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1861, allocations: 0 / 0.7363 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1861, allocations: 0 / 0.7363 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.1862, allocations: 12 kB / 0.7363 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.1866, allocations: 155.9 kB / 0.7365 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.1873, allocations: 431.6 kB / 0.7369 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.1878, allocations: 178.5 kB / 0.737 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.188, allocations: 104.8 kB / 0.7371 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.188, allocations: 7.938 kB / 0.7372 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1881, allocations: 34.81 kB / 0.7372 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1881, allocations: 0 / 0.7372 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008733/0.1889, allocations: 328.4 kB / 0.7375 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.189, allocations: 55.34 kB / 0.7376 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1892, allocations: 260.2 kB / 0.7378 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1893, allocations: 29.7 kB / 0.7378 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.1894, allocations: 128.1 kB / 0.738 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1894, allocations: 47.64 kB / 0.738 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.1895, allocations: 29.7 kB / 0.738 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1896, allocations: 338.8 kB / 0.7383 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.1899, allocations: 79.92 kB / 0.7384 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1901, allocations: 83.92 kB / 0.7385 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.1905, allocations: 180.7 kB / 0.7387 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1905, allocations: 0 / 0.7387 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005454/0.1911, allocations: 240.8 kB / 0.7389 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1911, allocations: 11.98 kB / 0.7389 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1911, allocations: 4 kB / 0.7389 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1911, allocations: 0 / 0.7389 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1914, allocations: 35.91 kB / 0.739 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1914, allocations: 0 / 0.739 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1916, allocations: 23.86 kB / 0.739 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.1916, allocations: 7.984 kB / 0.739 GB, free: 6.387 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.000133/0.1918, allocations: 143.7 kB / 0.7391 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.1918, allocations: 27.86 kB / 0.7391 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.1919, allocations: 29.8 kB / 0.7392 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1919, allocations: 7.938 kB / 0.7392 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1919, allocations: 0 / 0.7392 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1919, allocations: 0 / 0.7392 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1922, allocations: 236.6 kB / 0.7394 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1922, allocations: 0 / 0.7394 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.1925, allocations: 35.97 kB / 0.7394 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1925, allocations: 0 / 0.7394 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1925, allocations: 7.984 kB / 0.7395 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1925, allocations: 11.94 kB / 0.7395 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1925, allocations: 0 / 0.7395 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.1931, allocations: 331.2 kB / 0.7398 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.1932, allocations: 47.73 kB / 0.7398 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.1932, allocations: 3.984 kB / 0.7398 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.1934, allocations: 19.92 kB / 0.7398 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.1935, allocations: 11.98 kB / 0.7399 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1935, allocations: 7.984 kB / 0.7399 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001727/0.1937, allocations: 187 kB / 0.74 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1937, allocations: 0 / 0.74 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002702/0.194, allocations: 40 kB / 0.7401 GB, free: 5.199 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.0009254/0.1949, allocations: 0.8684 MB / 0.7409 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.1954, allocations: 183.8 kB / 0.7411 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1954, allocations: 0 / 0.7411 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.1957, allocations: 103.9 kB / 0.7412 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.1961, allocations: 55.36 kB / 0.7413 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.1996, allocations: 2.488 MB / 0.7437 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.1997, allocations: 143.9 kB / 0.7438 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.1999, allocations: 65.36 kB / 0.7439 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2001, allocations: 63.41 kB / 0.7439 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.2001, allocations: 0 / 0.7439 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.2275, allocations: 5.511 MB / 0.7493 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.55, allocations: 15.91 kB / 0.7493 GB, free: 11.82 MB / 0.5762 GB " [Timeout remaining time 648] (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.501112501951866] Failed to read output from testmodel.py, exit status != 0: 11.711901942035183 12.029464875 11.843037646 Calling exit ...