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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 192.9 kB / 8.137 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.2 MB / 213.7 MB, free: 13.9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 102 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.362/0.362, allocations: 48.76 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.154e-06, allocations: 4 kB / 424.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/4.99, allocations: 2.901 GB / 3.374 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/4.991, allocations: 74.83 kB / 3.374 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004/6.995, allocations: 0.6546 GB / 4.029 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.876e-05/6.995, allocations: 20.84 kB / 4.029 GB, free: 43.57 MB / 0.5261 GB 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.006175/7.001, allocations: 1.409 MB / 4.03 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/7.001, allocations: 11.31 kB / 4.03 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/7.001, allocations: 117.7 kB / 4.031 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/7.003, allocations: 0.5407 MB / 4.031 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/7.003, allocations: 24.72 kB / 4.031 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/7.003, allocations: 38.03 kB / 4.031 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008204/7.004, allocations: 431.2 kB / 4.032 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/7.005, allocations: 0.7291 MB / 4.032 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/7.005, allocations: 3.906 kB / 4.032 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/7.005, allocations: 0 / 4.032 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/7.005, allocations: 18.91 kB / 4.032 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/7.009, allocations: 4.27 MB / 4.036 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/7.009, allocations: 333.6 kB / 4.037 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/7.009, allocations: 149.1 kB / 4.037 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05945/7.069, allocations: 32.02 MB / 4.068 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/7.069, allocations: 34.59 kB / 4.068 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.376e-06/7.069, allocations: 2.438 kB / 4.068 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001654/7.07, allocations: 472.1 kB / 4.069 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/7.07, allocations: 84.58 kB / 4.069 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/7.071, allocations: 291.8 kB / 4.069 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/7.071, allocations: 25.7 kB / 4.069 GB, free: 19.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/7.071, allocations: 282.9 kB / 4.069 GB, free: 18.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/7.071, allocations: 114.6 kB / 4.069 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/7.071, allocations: 0 / 4.069 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000104/7.071, allocations: 353.3 kB / 4.07 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/7.072, allocations: 117.8 kB / 4.07 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/7.072, allocations: 186.9 kB / 4.07 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/7.072, allocations: 135.8 kB / 4.07 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/7.072, allocations: 0.9688 kB / 4.07 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001312/7.074, allocations: 0.5052 MB / 4.071 GB, free: 18.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000308/7.074, allocations: 0.8771 MB / 4.072 GB, free: 33.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/7.074, allocations: 1.469 kB / 4.072 GB, free: 33.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/7.074, allocations: 4.781 kB / 4.072 GB, free: 33.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/7.075, allocations: 101.2 kB / 4.072 GB, free: 33.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/7.075, allocations: 7.703 kB / 4.072 GB, free: 33.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/7.075, allocations: 75.67 kB / 4.072 GB, free: 33.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/7.075, allocations: 17.14 kB / 4.072 GB, free: 33.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/7.075, allocations: 4.125 kB / 4.072 GB, free: 33.37 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006202/7.076, allocations: 243.7 kB / 4.072 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/7.076, allocations: 8.031 kB / 4.072 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/7.076, allocations: 4.688 kB / 4.072 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/7.076, allocations: 93.8 kB / 4.072 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/7.076, allocations: 15.06 kB / 4.072 GB, free: 33.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/7.077, allocations: 65.31 kB / 4.072 GB, free: 33.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/7.077, allocations: 12.59 kB / 4.072 GB, free: 33.33 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/7.077, allocations: 118.7 kB / 4.072 GB, free: 33.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/7.078, allocations: 169.1 kB / 4.072 GB, free: 33.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/7.08, allocations: 1.799 MB / 4.074 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/7.08, allocations: 25.86 kB / 4.074 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/7.08, allocations: 4.219 kB / 4.074 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/7.08, allocations: 0.9062 kB / 4.074 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/7.082, allocations: 0.8711 MB / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/7.082, allocations: 0 / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/7.082, allocations: 77.5 kB / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/7.082, allocations: 4.875 kB / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/7.082, allocations: 9.359 kB / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/7.082, allocations: 2.078 kB / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.082, allocations: 1 kB / 4.075 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00228/7.084, allocations: 1.541 MB / 4.077 GB, free: 32.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/7.085, allocations: 179.2 kB / 4.077 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/7.085, allocations: 5.344 kB / 4.077 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/7.086, allocations: 59.19 kB / 4.077 GB, free: 32.31 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/7.086, allocations: 35.23 kB / 4.077 GB, free: 32.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/7.086, allocations: 18 kB / 4.077 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0002944/7.086, allocations: 228.1 kB / 4.077 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005781/7.092, allocations: 1.102 MB / 4.078 GB, free: 32.05 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00738/7.099, allocations: 2.148 MB / 4.08 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001463/7.101, allocations: 0.9533 MB / 4.081 GB, free: 31.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/7.101, allocations: 1.156 kB / 4.081 GB, free: 31.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008645/7.102, allocations: 0.7945 MB / 4.082 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/7.103, allocations: 209.4 kB / 4.082 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/7.106, allocations: 1.422 MB / 4.084 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008139/7.107, allocations: 1.052 MB / 4.085 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/7.107, allocations: 0 / 4.085 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.05026/7.157, allocations: 35.95 MB / 4.12 GB, free: 25.61 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile (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)