Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001724/0.001725, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.94 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7794/0.7794, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.73e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 60.25 MB / 485.5 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.41/9.6, allocations: 2.865 GB / 3.339 GB, free: 7.535 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/9.6, allocations: 82.36 kB / 3.339 GB, free: 7.457 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.14/11.74, allocations: 457.1 MB / 3.785 GB, free: 56.33 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.894e-06/11.74, allocations: 0 / 3.785 GB, free: 56.33 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.787e-05/11.74, allocations: 26.69 kB / 3.785 GB, free: 56.33 MB / 0.5108 GB 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.005401/11.75, allocations: 1.324 MB / 3.787 GB, free: 55.8 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/11.75, allocations: 11.97 kB / 3.787 GB, free: 55.8 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/11.75, allocations: 121.8 kB / 3.787 GB, free: 55.76 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/11.75, allocations: 0.5574 MB / 3.787 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/11.75, allocations: 16.03 kB / 3.787 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/11.75, allocations: 31.53 kB / 3.787 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000484/11.75, allocations: 299.9 kB / 3.788 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/11.75, allocations: 0.6274 MB / 3.788 GB, free: 55.12 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/11.75, allocations: 6.375 kB / 3.788 GB, free: 55.12 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/11.75, allocations: 7.141 kB / 3.788 GB, free: 55.11 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/11.75, allocations: 15.03 kB / 3.788 GB, free: 55.11 MB / 0.5108 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.2795/12.03, allocations: 131 MB / 3.916 GB, free: 20.02 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/12.03, allocations: 89.73 kB / 3.916 GB, free: 19.92 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/12.03, allocations: 32.09 kB / 3.916 GB, free: 19.89 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/12.03, allocations: 16.41 kB / 3.916 GB, free: 19.89 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/12.03, allocations: 32.34 kB / 3.916 GB, free: 19.85 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/12.03, allocations: 0 / 3.916 GB, free: 19.85 MB / 0.5577 GB Notification: Performance of matching and sorting (n=4): time 0.0009948/12.03, allocations: 223.6 kB / 3.917 GB, free: 19.79 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/12.03, allocations: 129.8 kB / 3.917 GB, free: 19.63 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/12.03, allocations: 425.6 kB / 3.917 GB, free: 19.52 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/12.03, allocations: 25.7 kB / 3.917 GB, free: 19.49 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/12.03, allocations: 406.8 kB / 3.918 GB, free: 19.3 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/12.03, allocations: 17.81 kB / 3.918 GB, free: 19.29 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/12.03, allocations: 0 / 3.918 GB, free: 19.29 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0002411/12.03, allocations: 361 kB / 3.918 GB, free: 18.98 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/12.03, allocations: 41.12 kB / 3.918 GB, free: 18.98 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/12.03, allocations: 124.3 kB / 3.918 GB, free: 18.88 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/12.03, allocations: 82.83 kB / 3.918 GB, free: 18.88 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/12.03, allocations: 3.953 kB / 3.918 GB, free: 18.87 MB / 0.5577 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006124/12.03, allocations: 261.3 kB / 3.918 GB, free: 18.81 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006136/12.03, allocations: 1.046 MB / 3.919 GB, free: 17.71 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/12.03, allocations: 7.25 kB / 3.919 GB, free: 17.71 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/12.03, allocations: 7.438 kB / 3.919 GB, free: 17.71 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/12.03, allocations: 54.89 kB / 3.919 GB, free: 17.71 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/12.03, allocations: 5.625 kB / 3.92 GB, free: 17.71 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/12.03, allocations: 35.53 kB / 3.92 GB, free: 17.7 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/12.03, allocations: 13.25 kB / 3.92 GB, free: 17.7 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/12.03, allocations: 3.75 kB / 3.92 GB, free: 17.7 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003335/12.03, allocations: 132.5 kB / 3.92 GB, free: 17.7 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/12.03, allocations: 7.391 kB / 3.92 GB, free: 17.7 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/12.03, allocations: 7.703 kB / 3.92 GB, free: 17.69 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/12.03, allocations: 56.12 kB / 3.92 GB, free: 17.69 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/12.03, allocations: 5.469 kB / 3.92 GB, free: 17.69 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/12.03, allocations: 18.52 kB / 3.92 GB, free: 17.68 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/12.03, allocations: 11.72 kB / 3.92 GB, free: 17.68 MB / 0.5577 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001324/12.03, allocations: 112.1 kB / 3.92 GB, free: 17.58 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/12.03, allocations: 55.66 kB / 3.92 GB, free: 17.55 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/12.03, allocations: 130 kB / 3.92 GB, free: 17.5 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/12.03, allocations: 11 kB / 3.92 GB, free: 17.49 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/12.03, allocations: 2.625 kB / 3.92 GB, free: 17.49 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/12.03, allocations: 6 kB / 3.92 GB, free: 17.49 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/12.03, allocations: 392.1 kB / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/12.03, allocations: 0 / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/12.04, allocations: 10.31 kB / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/12.04, allocations: 0 / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/12.04, allocations: 6.453 kB / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/12.04, allocations: 0 / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/12.04, allocations: 5.156 kB / 3.92 GB, free: 17.33 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/12.04, allocations: 467.4 kB / 3.921 GB, free: 16.9 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/12.04, allocations: 129.7 kB / 3.921 GB, free: 16.77 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/12.04, allocations: 3.938 kB / 3.921 GB, free: 16.77 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/12.04, allocations: 15.19 kB / 3.921 GB, free: 16.77 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/12.04, allocations: 7.234 kB / 3.921 GB, free: 16.77 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/12.04, allocations: 3.062 kB / 3.921 GB, free: 16.77 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.0003976/12.04, allocations: 346.1 kB / 3.921 GB, free: 16.67 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.31e-07/12.04, allocations: 0 / 3.921 GB, free: 16.67 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.005937/12.04, allocations: 1.09 MB / 3.922 GB, free: 16.49 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.006497/12.05, allocations: 1.76 MB / 3.924 GB, free: 16.14 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.0005105/12.05, allocations: 180.1 kB / 3.924 GB, free: 16.13 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/12.05, allocations: 1 kB / 3.924 GB, free: 16.13 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/12.05, allocations: 17.2 kB / 3.924 GB, free: 16.13 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/12.05, allocations: 227.6 kB / 3.925 GB, free: 16.12 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/12.05, allocations: 0.5899 MB / 3.925 GB, free: 15.83 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/12.05, allocations: 0.897 MB / 3.926 GB, free: 15.12 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.0006065/12.05, allocations: 395.5 kB / 3.926 GB, free: 15.1 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/12.05, allocations: 34.27 kB / 3.926 GB, free: 15.08 MB / 0.5577 GB Notification: Performance of SimCode: time 6.81e-07/12.05, allocations: 0 / 3.926 GB, free: 15.08 MB / 0.5577 GB Notification: Performance of Templates: time 0.4078/12.46, allocations: 28.39 MB / 3.954 GB, free: 103.7 MB / 0.5577 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)