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.00109/0.00109, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001664/0.001664, allocations: 167 kB / 24.82 MB, free: 9.266 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.8322/0.8322, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1664/0.1664, allocations: 36.35 MB / 275.4 MB, free: 10.48 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 2.625e-06/2.625e-06, allocations: 0 / 354.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/3.004e-05, allocations: 3.438 kB / 354.3 MB, free: 3.137 MB / 282.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.06289/0.06292, allocations: 74.46 MB / 428.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.06494, allocations: 0.923 MB / 429.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.06528, allocations: 39.56 kB / 429.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.06589, allocations: 301.4 kB / 430 MB, free: 7.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.06644, allocations: 460.5 kB / 430.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008152/0.07459, allocations: 4.545 MB / 435 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.07583, allocations: 1.373 MB / 436.4 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005136/0.07634, allocations: 395.4 kB / 436.7 MB, free: 372 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1567/0.233, allocations: 0.6254 MB / 437.4 MB, free: 41.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.2338, allocations: 355.3 kB / 437.7 MB, free: 41.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.2339, allocations: 36.69 kB / 437.7 MB, free: 41.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006299/0.2402, allocations: 4.158 MB / 441.9 MB, free: 41.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.2403, allocations: 116.3 kB / 442 MB, free: 41.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.2405, allocations: 234.4 kB / 442.2 MB, free: 41.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.245, allocations: 3.49 MB / 445.7 MB, free: 41.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.245, allocations: 0 / 445.7 MB, free: 41.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.245, allocations: 5.281 kB / 445.7 MB, free: 41.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.245, allocations: 0 / 445.7 MB, free: 41.11 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.001797/0.2468, allocations: 1.348 MB / 447.1 MB, free: 40.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2468, allocations: 9.031 kB / 447.1 MB, free: 40.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.2469, allocations: 134.5 kB / 447.2 MB, free: 40.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2473, allocations: 449.1 kB / 447.7 MB, free: 40.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2473, allocations: 39.19 kB / 447.7 MB, free: 40.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.2473, allocations: 46.72 kB / 447.8 MB, free: 40.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2477, allocations: 0.6255 MB / 448.4 MB, free: 39.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2477, allocations: 11.56 kB / 448.4 MB, free: 39.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.2477, allocations: 19.97 kB / 448.4 MB, free: 39.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2477, allocations: 16.91 kB / 448.4 MB, free: 39.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2478, allocations: 165.4 kB / 448.6 MB, free: 39.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.2495, allocations: 6.168 MB / 454.8 MB, free: 34.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.2496, allocations: 262.4 kB / 455 MB, free: 33.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.2496, allocations: 130 kB / 455.1 MB, free: 33.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2496, allocations: 119.2 kB / 455.3 MB, free: 33.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2496, allocations: 156.6 kB / 455.4 MB, free: 33.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.2496, allocations: 3 kB / 455.4 MB, free: 33.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.69e-05/0.2497, allocations: 86.59 kB / 455.5 MB, free: 33.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2497, allocations: 171.6 kB / 455.7 MB, free: 33.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.25, allocations: 0.5302 MB / 456.2 MB, free: 33.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-06/0.25, allocations: 28.27 kB / 456.2 MB, free: 33.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2501, allocations: 471.9 kB / 456.7 MB, free: 32.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.2501, allocations: 0 / 456.7 MB, free: 32.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.2502, allocations: 40.05 kB / 456.7 MB, free: 32.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.2502, allocations: 0.5363 MB / 457.3 MB, free: 32.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.2503, allocations: 5.188 kB / 457.3 MB, free: 32.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.2503, allocations: 124.1 kB / 457.4 MB, free: 32.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.169e-05/0.2504, allocations: 134 kB / 457.5 MB, free: 32.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2504, allocations: 2.469 kB / 457.5 MB, free: 32.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001547/0.2505, allocations: 164.7 kB / 457.7 MB, free: 31.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2505, allocations: 6.406 kB / 457.7 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2505, allocations: 7.156 kB / 457.7 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2506, allocations: 3.219 kB / 457.7 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.2506, allocations: 25.48 kB / 457.7 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.2506, allocations: 2.938 kB / 457.7 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.2507, allocations: 19.98 kB / 457.7 MB, free: 31.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.2507, allocations: 5.969 kB / 457.7 MB, free: 31.94 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 7.988e-05/0.2508, allocations: 291.7 kB / 458 MB, free: 31.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.2508, allocations: 202.6 kB / 458.2 MB, free: 31.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.2509, allocations: 194 kB / 458.4 MB, free: 31.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.2509, allocations: 274.9 kB / 458.7 MB, free: 31.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.2509, allocations: 269.2 kB / 458.9 MB, free: 30.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.2509, allocations: 269.9 kB / 459.2 MB, free: 30.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2512, allocations: 0.6101 MB / 459.8 MB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.2512, allocations: 148.1 kB / 460 MB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.2512, allocations: 148.1 kB / 460.1 MB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.078e-05/0.2512, allocations: 268.9 kB / 460.4 MB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.2512, allocations: 269.4 kB / 460.6 MB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/0.2512, allocations: 267.7 kB / 460.9 MB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/0.2513, allocations: 273.3 kB / 461.2 MB, free: 28.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.644e-05/0.2513, allocations: 0.491 MB / 461.7 MB, free: 28.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.2514, allocations: 188.1 kB / 461.8 MB, free: 28.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.2514, allocations: 269.1 kB / 462.1 MB, free: 27.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.2515, allocations: 150.6 kB / 462.2 MB, free: 27.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.2515, allocations: 272.6 kB / 462.5 MB, free: 27.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2515, allocations: 144.9 kB / 462.7 MB, free: 27.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.2516, allocations: 341.1 kB / 463 MB, free: 27.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2516, allocations: 1.094 kB / 463 MB, free: 27.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001403/0.253, allocations: 0.7923 MB / 463.8 MB, free: 26.9 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.001481/0.2545, allocations: 1.137 MB / 464.9 MB, free: 26.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.037e-05/0.2546, allocations: 43.59 kB / 465 MB, free: 26.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2546, allocations: 2.906 kB / 465 MB, free: 26.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.2546, allocations: 0 / 465 MB, free: 26.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.2553, allocations: 0.9449 MB / 465.9 MB, free: 25.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.2561, allocations: 0.98 MB / 466.9 MB, free: 25.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.2562, allocations: 117.4 kB / 467 MB, free: 25.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.2563, allocations: 89.2 kB / 467.1 MB, free: 25.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.2565, allocations: 206.7 kB / 467.3 MB, free: 25.1 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2565, allocations: 0 / 467.3 MB, free: 25.1 MB / 362.7 MB Notification: Performance of Templates: time 0.02115/0.2776, allocations: 25.21 MB / 492.5 MB, free: 8.266 MB / 362.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.5125903012230992]