Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.0006852/0.0006852, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008822/0.001567, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006659/0.0006659, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008381/0.001504, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.888/0.888, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08059/0.9686, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09554/0.09554, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01082/0.1064, allocations: 7.557 MB / 271.3 MB, free: 3.473 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 272.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.13e-05, allocations: 5.688 kB / 272.6 MB, free: 2.176 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.1658/0.1658, allocations: 51.56 MB / 324.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1678, allocations: 0.9783 MB / 325.1 MB, free: 9.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.1681, allocations: 35.62 kB / 325.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.1686, allocations: 297.3 kB / 325.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.1692, allocations: 460.5 kB / 325.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.1818, allocations: 4.268 MB / 330.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.1832, allocations: 1.374 MB / 331.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.1837, allocations: 413.4 kB / 331.9 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.1842, allocations: 0.6654 MB / 332.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.1846, allocations: 346.7 kB / 332.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.1846, allocations: 36 kB / 333 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007179/0.1918, allocations: 4.416 MB / 337.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.1919, allocations: 91.44 kB / 337.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.192, allocations: 203.6 kB / 337.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.1949, allocations: 2.802 MB / 340.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.195, allocations: 0 / 340.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.195, allocations: 0 / 340.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.195, allocations: 4 kB / 340.5 MB, free: 9.703 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00118/0.1961, allocations: 1.576 MB / 342.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1962, allocations: 8.031 kB / 342.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.1963, allocations: 108.8 kB / 342.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.1967, allocations: 429.3 kB / 342.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1967, allocations: 37.38 kB / 342.6 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1967, allocations: 48.38 kB / 342.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1971, allocations: 0.5414 MB / 343.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1971, allocations: 11.92 kB / 343.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1971, allocations: 20 kB / 343.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1971, allocations: 16 kB / 343.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1972, allocations: 167.3 kB / 343.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1992, allocations: 4.202 MB / 347.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.1993, allocations: 173.1 kB / 347.8 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1993, allocations: 88.16 kB / 347.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1993, allocations: 79.28 kB / 348 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.1993, allocations: 106.7 kB / 348.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1993, allocations: 0 / 348.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.184e-05/0.1994, allocations: 61.59 kB / 348.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1994, allocations: 130.7 kB / 348.3 MB, free: 1.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.1997, allocations: 487.9 kB / 348.7 MB, free: 1.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.1997, allocations: 33.69 kB / 348.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1998, allocations: 324.7 kB / 349.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.1998, allocations: 0 / 349.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.1999, allocations: 41.64 kB / 349.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.1999, allocations: 366.7 kB / 349.5 MB, free: 296 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.2, allocations: 8 kB / 349.5 MB, free: 288 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.2, allocations: 83.48 kB / 349.6 MB, free: 168 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.2001, allocations: 106.1 kB / 349.7 MB, free: 24 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2001, allocations: 0 / 349.7 MB, free: 24 kB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001271/0.2002, allocations: 129.5 kB / 349.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2002, allocations: 7.938 kB / 349.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2002, allocations: 6.875 kB / 349.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.056e-06/0.2002, allocations: 7.828 kB / 349.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.2003, allocations: 31.92 kB / 349.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2003, allocations: 8.359 kB / 349.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.2004, allocations: 15.89 kB / 349.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2004, allocations: 12 kB / 349.9 MB, free: 15.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 12 * 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 8.565e-05/0.2005, allocations: 189.1 kB / 350.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2005, allocations: 132.9 kB / 350.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.2006, allocations: 148.8 kB / 350.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/0.2006, allocations: 184.2 kB / 350.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/0.2007, allocations: 180.2 kB / 350.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/0.2007, allocations: 184.2 kB / 350.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.2012, allocations: 457.2 kB / 351.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.2012, allocations: 101 kB / 351.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.2012, allocations: 108.9 kB / 351.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.2013, allocations: 144.7 kB / 351.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.749e-05/0.2013, allocations: 188.2 kB / 351.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.2013, allocations: 180.2 kB / 352 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/0.2014, allocations: 176.3 kB / 352.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.976e-05/0.2014, allocations: 188.2 kB / 352.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.806e-05/0.2015, allocations: 331.7 kB / 352.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.2016, allocations: 184.5 kB / 352.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.2016, allocations: 108.9 kB / 353 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.2017, allocations: 184.2 kB / 353.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2017, allocations: 103 kB / 353.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.2018, allocations: 224.6 kB / 353.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2018, allocations: 0 / 353.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008584/0.2027, allocations: 0.7984 MB / 354.3 MB, free: 11.21 MB / 346.7 MB 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 (0): * Single equations (assignments): 0 * 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.001501/0.2042, allocations: 1.125 MB / 355.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.2043, allocations: 41.22 kB / 355.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.2043, allocations: 8 kB / 355.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2043, allocations: 3.938 kB / 355.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.2049, allocations: 0.7281 MB / 356.2 MB, free: 9.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.2109, allocations: 0.9547 MB / 357.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.95e-05/0.2109, allocations: 117.2 kB / 357.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.2111, allocations: 84.48 kB / 357.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2113, allocations: 177.2 kB / 357.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2113, allocations: 0 / 357.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of Templates: time 0.02503/0.2363, allocations: 25.23 MB / 382.8 MB, free: 14.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1969614271074533]