Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001921/0.001921, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002351/0.002351, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.527/1.527, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.1498/0.1498, allocations: 19.73 MB / 280.8 MB, free: 9.266 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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 357.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.426e-05, allocations: 10.25 kB / 357.2 MB, free: 6.922 MB / 282.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.2349/0.2349, allocations: 99.95 MB / 457.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2368, allocations: 0.9214 MB / 458.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.2372, allocations: 35.62 kB / 458.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.2378, allocations: 322.5 kB / 458.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.2384, allocations: 464.2 kB / 458.9 MB, free: 3.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009218/0.2476, allocations: 4.538 MB / 463.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.249, allocations: 1.377 MB / 464.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.2495, allocations: 383.3 kB / 465.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008155/0.2503, allocations: 0.6429 MB / 465.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.2509, allocations: 351.5 kB / 466.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.2509, allocations: 36 kB / 466.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008819/0.2598, allocations: 4.176 MB / 470.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.26, allocations: 114.2 kB / 470.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.2604, allocations: 229.4 kB / 470.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007596/0.268, allocations: 3.648 MB / 474.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.268, allocations: 0 / 474.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.268, allocations: 0 / 474.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.268, allocations: 0 / 474.4 MB, free: 7.633 MB / 346.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.002281/0.2703, allocations: 1.24 MB / 475.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2703, allocations: 12.03 kB / 475.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.2705, allocations: 132.4 kB / 475.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.2715, allocations: 457.4 kB / 476.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.2715, allocations: 37.38 kB / 476.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.2716, allocations: 48.38 kB / 476.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.2726, allocations: 0.6083 MB / 476.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2726, allocations: 11.94 kB / 476.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.2726, allocations: 24 kB / 476.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.2727, allocations: 12 kB / 476.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.2731, allocations: 251.4 kB / 477.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.2775, allocations: 4.416 MB / 481.6 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.2777, allocations: 169.1 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.2777, allocations: 84.08 kB / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.2778, allocations: 79.28 kB / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.378e-05/0.2779, allocations: 113.8 kB / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.2779, allocations: 0 / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001525/0.278, allocations: 89.27 kB / 482.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.2781, allocations: 126.7 kB / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.2788, allocations: 0.5079 MB / 482.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2788, allocations: 25.7 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.2794, allocations: 418.1 kB / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.2794, allocations: 4 kB / 483.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.2794, allocations: 33.69 kB / 483.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.2797, allocations: 362.8 kB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.2797, allocations: 20 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2798, allocations: 94.23 kB / 483.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.28, allocations: 110.2 kB / 483.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.28, allocations: 0 / 483.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003628/0.2804, allocations: 185 kB / 484 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2804, allocations: 8.375 kB / 484 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2804, allocations: 4 kB / 484 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2804, allocations: 7.938 kB / 484 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2805, allocations: 23.98 kB / 484 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2805, allocations: 4 kB / 484 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2807, allocations: 11.95 kB / 484 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2807, allocations: 8 kB / 484 MB, free: 13.49 MB / 362.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.0002487/0.2809, allocations: 241 kB / 484.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2811, allocations: 160.6 kB / 484.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.2812, allocations: 156.7 kB / 484.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.834e-05/0.2813, allocations: 176.3 kB / 484.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.2814, allocations: 184.2 kB / 484.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/0.2815, allocations: 184.2 kB / 485.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.2821, allocations: 0.5515 MB / 485.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.19e-05/0.2822, allocations: 117 kB / 485.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.2822, allocations: 101 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.2823, allocations: 184.2 kB / 486.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.2824, allocations: 184.2 kB / 486.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001031/0.2825, allocations: 180.2 kB / 486.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.617e-05/0.2826, allocations: 176.3 kB / 486.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2829, allocations: 367.4 kB / 487 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.283, allocations: 144.7 kB / 487.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.2832, allocations: 184.1 kB / 487.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2833, allocations: 105 kB / 487.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2834, allocations: 180.3 kB / 487.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.2835, allocations: 104.9 kB / 487.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004438/0.2839, allocations: 347.1 kB / 488 MB, free: 9.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 0 / 488 MB, free: 9.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002058/0.286, allocations: 0.7946 MB / 488.8 MB, free: 8.555 MB / 362.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.002764/0.2888, allocations: 1.093 MB / 489.9 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.2889, allocations: 43.86 kB / 489.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2889, allocations: 0 / 489.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2889, allocations: 0 / 489.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.2907, allocations: 0.6864 MB / 490.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2922, allocations: 0.9424 MB / 491.6 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2925, allocations: 284.5 kB / 491.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.2927, allocations: 91.16 kB / 491.9 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.2928, allocations: 36.5 kB / 492 MB, free: 5.387 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2928, allocations: 0 / 492 MB, free: 5.387 MB / 362.7 MB Notification: Performance of Templates: time 0.03793/0.3307, allocations: 22.39 MB / 0.5023 GB, free: 15.14 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.40876694500912]