Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.0007408/0.0007408, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003159/0.003159, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.759/0.759, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.1802/0.1802, allocations: 36.34 MB / 275.1 MB, free: 10.91 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 415.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.498e-05, allocations: 2.281 kB / 415.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2221/0.2221, allocations: 97.58 MB / 0.5012 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008669/0.2308, allocations: 10.32 MB / 0.5112 GB, free: 1.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.2312, allocations: 31.75 kB / 0.5113 GB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2322, allocations: 0.5314 MB / 0.5118 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.2329, allocations: 0.6518 MB / 0.5124 GB, free: 15.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009262/0.2422, allocations: 5.705 MB / 0.518 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.2434, allocations: 1.707 MB / 0.5197 GB, free: 8.539 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.2439, allocations: 0.5202 MB / 0.5202 GB, free: 8.004 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.2446, allocations: 0.8999 MB / 0.521 GB, free: 7.102 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.245, allocations: 0.5452 MB / 0.5216 GB, free: 6.555 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.2451, allocations: 64 kB / 0.5216 GB, free: 6.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.2515, allocations: 6.13 MB / 0.5276 GB, free: 364 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2516, allocations: 175.3 kB / 0.5278 GB, free: 188 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.2518, allocations: 295.5 kB / 0.5281 GB, free: 15.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004841/0.2566, allocations: 5.289 MB / 0.5332 GB, free: 10.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2566, allocations: 0 / 0.5332 GB, free: 10.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2566, allocations: 4 kB / 0.5332 GB, free: 10.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2566, allocations: 0 / 0.5332 GB, free: 10.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002261/0.2589, allocations: 1.495 MB / 0.5347 GB, free: 9.055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.2589, allocations: 8.031 kB / 0.5347 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.2592, allocations: 120.3 kB / 0.5348 GB, free: 8.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2597, allocations: 418 kB / 0.5352 GB, free: 8.496 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.2597, allocations: 49.69 kB / 0.5353 GB, free: 8.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.2597, allocations: 60.38 kB / 0.5353 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.2607, allocations: 0.8145 MB / 0.5361 GB, free: 7.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2607, allocations: 7.938 kB / 0.5361 GB, free: 7.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2608, allocations: 34.66 kB / 0.5362 GB, free: 7.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2608, allocations: 16 kB / 0.5362 GB, free: 7.477 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.2616, allocations: 0.5904 MB / 0.5368 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.2637, allocations: 2.636 MB / 0.5393 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.2645, allocations: 465 kB / 0.5398 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.2647, allocations: 157.6 kB / 0.5399 GB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02631/0.291, allocations: 16.82 MB / 0.5564 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2911, allocations: 38.56 kB / 0.5564 GB, free: 2.629 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.2911, allocations: 3.984 kB / 0.5564 GB, free: 2.625 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001208/0.2923, allocations: 0.6852 MB / 0.5571 GB, free: 1.934 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2923, allocations: 81.11 kB / 0.5571 GB, free: 1.836 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.2925, allocations: 369.9 kB / 0.5575 GB, free: 1.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2926, allocations: 33.7 kB / 0.5575 GB, free: 1.426 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2927, allocations: 356.5 kB / 0.5579 GB, free: 1.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.2928, allocations: 111 kB / 0.558 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.2929, allocations: 70.02 kB / 0.558 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.293, allocations: 358.7 kB / 0.5584 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2932, allocations: 138.1 kB / 0.5585 GB, free: 396 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.2934, allocations: 205.8 kB / 0.5587 GB, free: 160 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.2938, allocations: 332.5 kB / 0.559 GB, free: 15.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2938, allocations: 4 kB / 0.559 GB, free: 15.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005189/0.2943, allocations: 437.1 kB / 0.5594 GB, free: 15.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2943, allocations: 4 kB / 0.5594 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2943, allocations: 4 kB / 0.5595 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2943, allocations: 4 kB / 0.5595 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2946, allocations: 87.88 kB / 0.5595 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2946, allocations: 7.938 kB / 0.5595 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.2947, allocations: 35.77 kB / 0.5596 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2947, allocations: 24.14 kB / 0.5596 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002168/0.2949, allocations: 228.7 kB / 0.5598 GB, free: 14.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001522/0.2951, allocations: 180 kB / 0.56 GB, free: 14.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002798/0.2954, allocations: 302.9 kB / 0.5603 GB, free: 14.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.2954, allocations: 0 / 0.5603 GB, free: 14.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003614/0.2957, allocations: 365 kB / 0.5606 GB, free: 14.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.331e-06/0.2957, allocations: 8 kB / 0.5606 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.2957, allocations: 0 / 0.5606 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.2957, allocations: 11.94 kB / 0.5607 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2959, allocations: 88.16 kB / 0.5607 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.2959, allocations: 8 kB / 0.5607 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.296, allocations: 31.83 kB / 0.5608 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.296, allocations: 16 kB / 0.5608 GB, free: 13.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001005/0.2961, allocations: 208.7 kB / 0.561 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.2961, allocations: 47.72 kB / 0.561 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.2973, allocations: 1.637 MB / 0.5626 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2973, allocations: 23.97 kB / 0.5627 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2973, allocations: 0 / 0.5627 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2973, allocations: 3.984 kB / 0.5627 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.2979, allocations: 0.8129 MB / 0.5635 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2979, allocations: 4 kB / 0.5635 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.298, allocations: 63.89 kB / 0.5635 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.298, allocations: 4 kB / 0.5635 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.298, allocations: 8 kB / 0.5635 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.298, allocations: 0.875 kB / 0.5635 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.298, allocations: 0 / 0.5635 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.2988, allocations: 1.008 MB / 0.5645 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.2989, allocations: 115.2 kB / 0.5646 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.2989, allocations: 4 kB / 0.5646 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.299, allocations: 19.97 kB / 0.5646 GB, free: 9.891 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.2991, allocations: 39.94 kB / 0.5647 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2991, allocations: 17.23 kB / 0.5647 GB, free: 9.836 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.2993, allocations: 251.1 kB / 0.5649 GB, free: 9.594 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2993, allocations: 4 kB / 0.5649 GB, free: 9.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001613/0.3009, allocations: 1.099 MB / 0.566 GB, free: 8.488 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001996/0.3029, allocations: 1.098 MB / 0.5671 GB, free: 7.383 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.3036, allocations: 0.645 MB / 0.5677 GB, free: 6.738 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3036, allocations: 0 / 0.5677 GB, free: 6.738 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.3039, allocations: 338.9 kB / 0.568 GB, free: 6.406 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.3046, allocations: 230.7 kB / 0.5683 GB, free: 6.188 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3062, allocations: 1.635 MB / 0.5699 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3064, allocations: 392.4 kB / 0.5702 GB, free: 4.094 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3065, allocations: 48.48 kB / 0.5703 GB, free: 4.047 MB / 474.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3065, allocations: 0 / 0.5703 GB, free: 4.047 MB / 474.7 MB Notification: Performance of Templates: time 0.01562/0.3221, allocations: 22.85 MB / 0.5926 GB, free: 13.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7602887423709035] Failed to read output from testmodel.py, exit status != 0: 0.3286577323451638 0.33495257100000003 0.076478267 Calling exit ...