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.001359/0.001359, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001575/0.001575, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9196/0.9196, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1803/0.1803, allocations: 36.34 MB / 276.2 MB, free: 14.38 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.252e-06/1.252e-06, allocations: 0 / 355.1 MB, free: 62.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.055e-05, allocations: 2.312 kB / 355.1 MB, free: 62.59 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297: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 master/Water.mo:297:5-297: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.05004/0.05006, allocations: 74.43 MB / 429.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.0523, allocations: 0.923 MB / 430.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.05264, allocations: 39.56 kB / 430.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.05334, allocations: 301.4 kB / 430.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.054, allocations: 464.5 kB / 431.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.0661, allocations: 4.53 MB / 435.7 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.06782, allocations: 1.377 MB / 437.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.06833, allocations: 398.4 kB / 437.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.06895, allocations: 0.6311 MB / 438.1 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.06937, allocations: 354.8 kB / 438.5 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.06942, allocations: 36 kB / 438.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006842/0.07626, allocations: 4.159 MB / 442.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.07642, allocations: 115.4 kB / 442.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.07675, allocations: 223.4 kB / 443 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006741/0.08349, allocations: 3.499 MB / 446.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.08349, allocations: 0 / 446.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08349, allocations: 4 kB / 446.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.0835, allocations: 0 / 446.5 MB, free: 11.21 MB / 362.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.001664/0.08517, allocations: 1.345 MB / 447.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.0852, allocations: 8.031 kB / 447.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.08531, allocations: 132.4 kB / 448 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.08575, allocations: 460.1 kB / 448.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.08578, allocations: 37.38 kB / 448.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.08581, allocations: 44.38 kB / 448.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.08625, allocations: 0.6312 MB / 449.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.08627, allocations: 3.938 kB / 449.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.08629, allocations: 24 kB / 449.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.08631, allocations: 16 kB / 449.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.08645, allocations: 171.3 kB / 449.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.08914, allocations: 6.157 MB / 455.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.08922, allocations: 261.4 kB / 455.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.08925, allocations: 126.9 kB / 455.9 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.08928, allocations: 123.2 kB / 456 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.08933, allocations: 164.5 kB / 456.2 MB, free: 1.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.08933, allocations: 0 / 456.2 MB, free: 1.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.833e-05/0.08942, allocations: 77.38 kB / 456.2 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.08948, allocations: 178.6 kB / 456.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.08982, allocations: 0.5188 MB / 456.9 MB, free: 260 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.08982, allocations: 25.7 kB / 457 MB, free: 228 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.09004, allocations: 470.1 kB / 457.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.09004, allocations: 4 kB / 457.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.09008, allocations: 47.22 kB / 457.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.09024, allocations: 0.5312 MB / 458 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.09026, allocations: 15.98 kB / 458 MB, free: 15.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.09032, allocations: 112.2 kB / 458.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.09044, allocations: 136.1 kB / 458.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09045, allocations: 0 / 458.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001948/0.09064, allocations: 161 kB / 458.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.09066, allocations: 11.94 kB / 458.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.09066, allocations: 4.375 kB / 458.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.09068, allocations: 8 kB / 458.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.09074, allocations: 19.98 kB / 458.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.09075, allocations: 7.938 kB / 458.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.09082, allocations: 23.83 kB / 458.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.09084, allocations: 7.984 kB / 458.5 MB, free: 14.55 MB / 378.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 0.0001163/0.09095, allocations: 279.8 kB / 458.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.09103, allocations: 212.4 kB / 459 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.09117, allocations: 188.8 kB / 459.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/0.09122, allocations: 268 kB / 459.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.09128, allocations: 276.1 kB / 459.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/0.09133, allocations: 268.1 kB / 460 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.09163, allocations: 0.6095 MB / 460.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/0.09166, allocations: 148.9 kB / 460.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.09169, allocations: 148.8 kB / 460.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.09188, allocations: 264.1 kB / 461.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.09194, allocations: 280.1 kB / 461.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.439e-05/0.09199, allocations: 272 kB / 461.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-05/0.09205, allocations: 264.1 kB / 461.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.09219, allocations: 495.6 kB / 462.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.09226, allocations: 188.5 kB / 462.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.09234, allocations: 272.3 kB / 462.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.09244, allocations: 156.8 kB / 463 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.0925, allocations: 272 kB / 463.3 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.09253, allocations: 144.9 kB / 463.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.0927, allocations: 338.9 kB / 463.7 MB, free: 9.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0927, allocations: 0 / 463.7 MB, free: 9.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001745/0.09445, allocations: 0.7867 MB / 464.5 MB, free: 8.336 MB / 378.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.002348/0.09679, allocations: 1.144 MB / 465.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.09695, allocations: 43.55 kB / 465.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.09695, allocations: 0 / 465.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.09695, allocations: 0 / 465.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.09791, allocations: 0.9418 MB / 466.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.09913, allocations: 0.979 MB / 467.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.0992, allocations: 113.3 kB / 467.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.09939, allocations: 91.11 kB / 467.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.09962, allocations: 206 kB / 468 MB, free: 4.75 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/0.09962, allocations: 0 / 468 MB, free: 4.75 MB / 378.7 MB Notification: Performance of Templates: time 0.03055/0.1302, allocations: 25.26 MB / 493.3 MB, free: 11.46 MB / 410.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.8883719258010387]