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.001242/0.001242, allocations: 174.8 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 1.883/1.883, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009927/0.0009928, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4001/0.4001, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.022e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1876, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.315/9.503, allocations: 2.865 GB / 3.347 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/9.503, allocations: 83.86 kB / 3.347 GB, free: 74.06 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.603/11.11, allocations: 460.7 MB / 3.797 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/11.11, allocations: 0 / 3.797 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.513e-05/11.11, allocations: 23.2 kB / 3.797 GB, free: 19.35 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004452/11.11, allocations: 1.327 MB / 3.798 GB, free: 18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/11.11, allocations: 12.03 kB / 3.798 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/11.11, allocations: 118.9 kB / 3.798 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/11.11, allocations: 0.5604 MB / 3.798 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/11.11, allocations: 37 kB / 3.799 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/11.11, allocations: 48 kB / 3.799 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/11.11, allocations: 0.7765 MB / 3.799 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/11.11, allocations: 0 / 3.799 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/11.11, allocations: 36 kB / 3.799 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/11.11, allocations: 12 kB / 3.799 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/11.11, allocations: 359.5 kB / 3.8 GB, free: 15.9 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.002315/11.12, allocations: 3.347 MB / 3.803 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/11.12, allocations: 198.2 kB / 3.803 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/11.12, allocations: 55.44 kB / 3.803 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3764/11.49, allocations: 31.98 MB / 3.834 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/11.49, allocations: 35.59 kB / 3.834 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.484e-06/11.49, allocations: 1.938 kB / 3.835 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001347/11.49, allocations: 357.2 kB / 3.835 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/11.49, allocations: 133.4 kB / 3.835 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/11.5, allocations: 0.6236 MB / 3.836 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/11.5, allocations: 25.7 kB / 3.836 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/11.5, allocations: 351 kB / 3.836 GB, free: 64.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/11.5, allocations: 46.7 kB / 3.836 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/11.5, allocations: 1.312 kB / 3.836 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/11.5, allocations: 315.4 kB / 3.836 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/11.5, allocations: 42.95 kB / 3.836 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/11.5, allocations: 118.4 kB / 3.836 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/11.5, allocations: 57.88 kB / 3.836 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/11.5, allocations: 1.188 kB / 3.836 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004297/11.5, allocations: 268.1 kB / 3.837 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/11.5, allocations: 1.05 MB / 3.838 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/11.5, allocations: 7.953 kB / 3.838 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/11.5, allocations: 7.281 kB / 3.838 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/11.5, allocations: 51.09 kB / 3.838 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/11.5, allocations: 6.438 kB / 3.838 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/11.5, allocations: 65.98 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/11.5, allocations: 17.03 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/11.5, allocations: 3.938 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002523/11.5, allocations: 144.8 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/11.5, allocations: 8.031 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/11.5, allocations: 7.844 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/11.5, allocations: 46.78 kB / 3.838 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/11.5, allocations: 7.797 kB / 3.838 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/11.5, allocations: 61.02 kB / 3.838 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/11.5, allocations: 12.06 kB / 3.838 GB, free: 62.82 MB / 0.5261 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 6.775e-05/11.5, allocations: 115.7 kB / 3.838 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/11.5, allocations: 76.75 kB / 3.838 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/11.5, allocations: 0.5168 MB / 3.839 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/11.5, allocations: 5.562 kB / 3.839 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/11.5, allocations: 0 / 3.839 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/11.5, allocations: 7.797 kB / 3.839 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/11.5, allocations: 0.6122 MB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/11.5, allocations: 5.484 kB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/11.5, allocations: 18.53 kB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/11.5, allocations: 3.906 kB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/11.5, allocations: 1.625 kB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/11.5, allocations: 3.344 kB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/11.5, allocations: 2.906 kB / 3.84 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/11.5, allocations: 0.5446 MB / 3.84 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/11.5, allocations: 243.8 kB / 3.84 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/11.5, allocations: 7.641 kB / 3.84 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/11.5, allocations: 21.03 kB / 3.84 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/11.5, allocations: 7.578 kB / 3.84 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/11.5, allocations: 3.438 kB / 3.84 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007026/11.5, allocations: 0.6984 MB / 3.841 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.3e-07/11.5, allocations: 0 / 3.841 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005261/11.51, allocations: 1.108 MB / 3.842 GB, free: 61.65 MB / 0.5261 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 (12): * Single equations (assignments): 12 * 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.007706/11.51, allocations: 1.557 MB / 3.844 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005649/11.52, allocations: 213.4 kB / 3.844 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/11.52, allocations: 1.406 kB / 3.844 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/11.52, allocations: 37.39 kB / 3.844 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/11.52, allocations: 458.4 kB / 3.844 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/11.52, allocations: 0.7287 MB / 3.845 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/11.52, allocations: 0.9509 MB / 3.846 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007653/11.52, allocations: 333.2 kB / 3.846 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/11.52, allocations: 42.8 kB / 3.846 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/11.52, allocations: 0 / 3.846 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.05571/11.58, allocations: 43.85 MB / 3.889 GB, free: 59.32 MB / 0.5261 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)