Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.000902/0.0009025, allocations: 86.72 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3757/0.3757, allocations: 48.78 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.535e-05, allocations: 0 / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1707, allocations: 60.26 MB / 492.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.371/9.542, allocations: 2.887 GB / 3.368 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/9.542, allocations: 76.72 kB / 3.368 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.451/10.99, allocations: 280.6 MB / 3.642 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/10.99, allocations: 0.5625 kB / 3.642 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.224e-05/10.99, allocations: 15.22 kB / 3.642 GB, free: 77.54 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004543/11, allocations: 1.106 MB / 3.643 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/11, allocations: 8.75 kB / 3.643 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/11, allocations: 74.56 kB / 3.643 GB, free: 77.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/11, allocations: 386.1 kB / 3.644 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/11, allocations: 31.94 kB / 3.644 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/11, allocations: 30.56 kB / 3.644 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/11, allocations: 477 kB / 3.644 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/11, allocations: 0 / 3.644 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/11, allocations: 19 kB / 3.644 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/11, allocations: 8.25 kB / 3.644 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/11, allocations: 267.7 kB / 3.644 GB, free: 76.58 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/11, allocations: 2.017 MB / 3.646 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/11, allocations: 271.8 kB / 3.647 GB, free: 75.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/11, allocations: 73.08 kB / 3.647 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05284/11.06, allocations: 32.1 MB / 3.678 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/11.06, allocations: 39.09 kB / 3.678 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/11.06, allocations: 0 / 3.678 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0009519/11.06, allocations: 270.4 kB / 3.678 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/11.06, allocations: 82.83 kB / 3.678 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/11.06, allocations: 376.9 kB / 3.679 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/11.06, allocations: 29.33 kB / 3.679 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/11.06, allocations: 233.6 kB / 3.679 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/11.06, allocations: 56.25 kB / 3.679 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/11.06, allocations: 6.062 kB / 3.679 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/11.06, allocations: 356.7 kB / 3.679 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.556e-05/11.06, allocations: 49.28 kB / 3.679 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/11.06, allocations: 116 kB / 3.68 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/11.06, allocations: 57.39 kB / 3.68 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/11.06, allocations: 0 / 3.68 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003536/11.06, allocations: 246.4 kB / 3.68 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/11.06, allocations: 0.7915 MB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/11.06, allocations: 0 / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/11.06, allocations: 9.25 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/11.06, allocations: 73.23 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/11.06, allocations: 5.906 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/11.06, allocations: 61.53 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/11.06, allocations: 11.28 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/11.06, allocations: 3.812 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002578/11.06, allocations: 169.4 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/11.06, allocations: 3.953 kB / 3.681 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/11.06, allocations: 7.094 kB / 3.681 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/11.06, allocations: 65.69 kB / 3.681 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/11.06, allocations: 5.188 kB / 3.681 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/11.06, allocations: 62.97 kB / 3.681 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/11.06, allocations: 14.7 kB / 3.681 GB, free: 53.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 6.897e-05/11.06, allocations: 115.1 kB / 3.681 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/11.06, allocations: 45.94 kB / 3.681 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/11.06, allocations: 386.2 kB / 3.682 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/11.06, allocations: 0 / 3.682 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/11.06, allocations: 0 / 3.682 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/11.06, allocations: 6.844 kB / 3.682 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/11.06, allocations: 454 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/11.06, allocations: 0 / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/11.06, allocations: 60.31 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/11.06, allocations: 0 / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/11.06, allocations: 6.25 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/11.06, allocations: 7.609 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/11.06, allocations: 3.938 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/11.06, allocations: 390.2 kB / 3.682 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/11.06, allocations: 162.8 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/11.06, allocations: 0 / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/11.06, allocations: 39.78 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/11.06, allocations: 17 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/11.06, allocations: 12.61 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003475/11.06, allocations: 396.8 kB / 3.683 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/11.06, allocations: 3.969 kB / 3.683 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004414/11.07, allocations: 0.962 MB / 3.684 GB, free: 52.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.005519/11.07, allocations: 1.295 MB / 3.685 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005576/11.07, allocations: 252.9 kB / 3.686 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/11.07, allocations: 0 / 3.686 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/11.07, allocations: 74.11 kB / 3.686 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/11.08, allocations: 225.2 kB / 3.686 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/11.08, allocations: 0.4903 MB / 3.686 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/11.08, allocations: 0.8401 MB / 3.687 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000442/11.08, allocations: 178.4 kB / 3.687 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/11.08, allocations: 38.34 kB / 3.687 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of SimCode: time 2e-07/11.08, allocations: 0 / 3.687 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.03807/11.12, allocations: 32.48 MB / 3.719 GB, free: 50.32 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)