Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [: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.001107/0.001107, allocations: 190.1 kB / 8.138 MB, free: 2.219 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.365/1.365, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.0009109/0.0009106, allocations: 79.52 kB / 261.7 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3676/0.3676, allocations: 48.75 MB / 358.4 MB, free: 53.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.822e-06/6.842e-06, allocations: 3.938 kB / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/4.709, allocations: 2.865 GB / 3.338 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/4.709, allocations: 74 kB / 3.338 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7216/5.431, allocations: 263.5 MB / 3.596 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.055e-05/5.431, allocations: 14.44 kB / 3.596 GB, free: 77.48 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.004312/5.435, allocations: 1.107 MB / 3.597 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/5.435, allocations: 9.75 kB / 3.597 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/5.435, allocations: 76.34 kB / 3.597 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/5.436, allocations: 393.5 kB / 3.597 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/5.436, allocations: 10.56 kB / 3.597 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/5.436, allocations: 21.55 kB / 3.597 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003312/5.436, allocations: 207.2 kB / 3.597 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/5.437, allocations: 318.1 kB / 3.598 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/5.437, allocations: 0 / 3.598 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/5.437, allocations: 3.938 kB / 3.598 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/5.437, allocations: 5.906 kB / 3.598 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0655/5.502, allocations: 33.79 MB / 3.631 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/5.503, allocations: 91.53 kB / 3.631 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/5.503, allocations: 56.53 kB / 3.631 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05878/5.561, allocations: 32.01 MB / 3.662 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/5.561, allocations: 34.56 kB / 3.662 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.315e-06/5.561, allocations: 0 / 3.662 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.001054/5.563, allocations: 260.2 kB / 3.662 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/5.563, allocations: 59.31 kB / 3.662 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/5.563, allocations: 272.3 kB / 3.663 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/5.563, allocations: 29.7 kB / 3.663 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/5.563, allocations: 192.8 kB / 3.663 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/5.563, allocations: 45.06 kB / 3.663 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/5.563, allocations: 0 / 3.663 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.712e-05/5.563, allocations: 342.8 kB / 3.663 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.233e-05/5.563, allocations: 60.58 kB / 3.663 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/5.563, allocations: 79.31 kB / 3.663 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/5.564, allocations: 85.66 kB / 3.664 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/5.564, allocations: 0 / 3.664 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009424/5.565, allocations: 352.2 kB / 3.664 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.936e-05/5.565, allocations: 448 kB / 3.664 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/5.565, allocations: 3.938 kB / 3.664 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/5.565, allocations: 94.77 kB / 3.664 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/5.566, allocations: 55.47 kB / 3.664 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009033/5.567, allocations: 0.7217 MB / 3.665 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/5.567, allocations: 27.11 kB / 3.665 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/5.567, allocations: 16.14 kB / 3.665 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/5.567, allocations: 4 kB / 3.665 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006662/5.568, allocations: 194.3 kB / 3.665 GB, free: 30.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/5.568, allocations: 6.062 kB / 3.665 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/5.568, allocations: 82.59 kB / 3.665 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/5.568, allocations: 59.78 kB / 3.666 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/5.57, allocations: 1.596 MB / 3.667 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/5.57, allocations: 33.75 kB / 3.667 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/5.57, allocations: 9.141 kB / 3.667 GB, free: 29.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 8.882e-05/5.57, allocations: 104.9 kB / 3.667 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/5.57, allocations: 92.84 kB / 3.667 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/5.572, allocations: 0.9333 MB / 3.668 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/5.572, allocations: 10.42 kB / 3.668 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/5.572, allocations: 3.906 kB / 3.668 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/5.572, allocations: 3.047 kB / 3.668 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/5.572, allocations: 443.8 kB / 3.669 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/5.572, allocations: 0 / 3.669 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/5.572, allocations: 23.03 kB / 3.669 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009894/5.573, allocations: 0.7961 MB / 3.669 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/5.573, allocations: 9.469 kB / 3.669 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009136/5.574, allocations: 1.103 MB / 3.671 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.574, allocations: 0 / 3.671 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000937/5.575, allocations: 0.7608 MB / 3.671 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/5.575, allocations: 125.2 kB / 3.671 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/5.576, allocations: 0 / 3.671 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/5.576, allocations: 27.12 kB / 3.671 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/5.576, allocations: 14.28 kB / 3.671 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/5.576, allocations: 7.969 kB / 3.671 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001814/5.576, allocations: 215.9 kB / 3.672 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004371/5.58, allocations: 0.9737 MB / 3.673 GB, free: 26.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.007093/5.587, allocations: 1.446 MB / 3.674 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001245/5.589, allocations: 0.5081 MB / 3.675 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.589, allocations: 0 / 3.675 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/5.589, allocations: 305.9 kB / 3.675 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/5.59, allocations: 131.6 kB / 3.675 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/5.591, allocations: 0.6293 MB / 3.676 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/5.592, allocations: 0.8717 MB / 3.676 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/5.592, allocations: 0 / 3.676 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.03953/5.631, allocations: 28.73 MB / 3.704 GB, free: 5.734 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)