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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 106.6 kB / 17.59 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.3 kB / 18.52 MB, free: 4.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.282/0.282, allocations: 48.84 MB / 320.6 MB, free: 11.11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67 kB / 390.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 59.16 MB / 449.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.07722/0.2016, allocations: 77.61 MB / 0.5152 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.2163, allocations: 11.1 MB / 0.526 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.2172, allocations: 23.81 kB / 0.526 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.2184, allocations: 393.2 kB / 0.5264 GB, free: 364 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2537/0.4722, allocations: 0.4984 MB / 0.5269 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01756/0.4898, allocations: 5.861 MB / 0.5326 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.4923, allocations: 1.366 MB / 0.5339 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.4931, allocations: 409.9 kB / 0.5343 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.4942, allocations: 480.7 kB / 0.5348 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.495, allocations: 477.5 kB / 0.5352 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.495, allocations: 43.56 kB / 0.5353 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/0.5101, allocations: 6.214 MB / 0.5413 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.5104, allocations: 129.7 kB / 0.5415 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000898/0.5113, allocations: 395.8 kB / 0.5419 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.5237, allocations: 4.109 MB / 0.5459 GB, free: 6.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5237, allocations: 2.625 kB / 0.5459 GB, free: 6.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5238, allocations: 0 / 0.5459 GB, free: 6.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5238, allocations: 0 / 0.5459 GB, free: 6.113 MB / 414.1 MB 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.005261/0.529, allocations: 1.475 MB / 0.5473 GB, free: 5.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.5291, allocations: 16.83 kB / 0.5473 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.5295, allocations: 124.2 kB / 0.5474 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.5302, allocations: 0.5032 MB / 0.5479 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.5302, allocations: 38.19 kB / 0.548 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.5303, allocations: 50.75 kB / 0.548 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5313, allocations: 0.6124 MB / 0.5486 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5313, allocations: 1.469 kB / 0.5486 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.5314, allocations: 25.94 kB / 0.5486 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.5314, allocations: 13.62 kB / 0.5487 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.5322, allocations: 356.8 kB / 0.549 GB, free: 4.754 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002923/0.5351, allocations: 3.554 MB / 0.5525 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.5356, allocations: 181.7 kB / 0.5526 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.5358, allocations: 60.19 kB / 0.5527 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0665/0.6023, allocations: 31.99 MB / 0.5839 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6023, allocations: 42.5 kB / 0.584 GB, free: 9.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.274e-06/0.6024, allocations: 0 / 0.584 GB, free: 9.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001394/0.6038, allocations: 363.6 kB / 0.5843 GB, free: 9.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.6038, allocations: 128.5 kB / 0.5844 GB, free: 9.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.6047, allocations: 0.7259 MB / 0.5852 GB, free: 9.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.6047, allocations: 25.7 kB / 0.5852 GB, free: 9.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.605, allocations: 360.7 kB / 0.5855 GB, free: 8.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.605, allocations: 40.62 kB / 0.5856 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.6051, allocations: 61.56 kB / 0.5856 GB, free: 8.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6053, allocations: 310.5 kB / 0.5859 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.6054, allocations: 67.66 kB / 0.586 GB, free: 8.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.6055, allocations: 128.8 kB / 0.5861 GB, free: 8.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6058, allocations: 189.2 kB / 0.5863 GB, free: 8.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6058, allocations: 3.312 kB / 0.5863 GB, free: 8.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004826/0.6063, allocations: 294.9 kB / 0.5866 GB, free: 8.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6063, allocations: 7 kB / 0.5866 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6064, allocations: 3 kB / 0.5866 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6064, allocations: 4.812 kB / 0.5866 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.6067, allocations: 53.78 kB / 0.5866 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.6067, allocations: 8.391 kB / 0.5866 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.6072, allocations: 49.69 kB / 0.5867 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.6072, allocations: 13.62 kB / 0.5867 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002043/0.6075, allocations: 160.2 kB / 0.5869 GB, free: 8.074 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001939/0.6077, allocations: 184 kB / 0.587 GB, free: 7.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002409/0.6079, allocations: 239.9 kB / 0.5873 GB, free: 7.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.6079, allocations: 2.562 kB / 0.5873 GB, free: 7.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004117/0.6083, allocations: 301.4 kB / 0.5875 GB, free: 7.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.6083, allocations: 5.719 kB / 0.5876 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6084, allocations: 4.594 kB / 0.5876 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.6084, allocations: 7.844 kB / 0.5876 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.6086, allocations: 58.25 kB / 0.5876 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6086, allocations: 7.094 kB / 0.5876 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.609, allocations: 22.22 kB / 0.5876 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.609, allocations: 20.7 kB / 0.5877 GB, free: 7.562 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.6092, allocations: 199.8 kB / 0.5879 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6093, allocations: 78.66 kB / 0.5879 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.6099, allocations: 0.5044 MB / 0.5884 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6099, allocations: 4 kB / 0.5884 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.61, allocations: 0.8906 kB / 0.5884 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.61, allocations: 4 kB / 0.5884 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.6108, allocations: 0.6111 MB / 0.589 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6108, allocations: 4 kB / 0.589 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.6109, allocations: 23.42 kB / 0.5891 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6109, allocations: 0 / 0.5891 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.6109, allocations: 4 kB / 0.5891 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6109, allocations: 0 / 0.5891 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6109, allocations: 7.094 kB / 0.5891 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.6113, allocations: 0.5123 MB / 0.5896 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.6115, allocations: 149.8 kB / 0.5897 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6116, allocations: 33.97 kB / 0.5897 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.612, allocations: 0 / 0.5897 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.612, allocations: 17.33 kB / 0.5898 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.612, allocations: 0 / 0.5898 GB, free: 5.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008555/0.6129, allocations: 0.7296 MB / 0.5905 GB, free: 5.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6129, allocations: 0 / 0.5905 GB, free: 5.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004474/0.6174, allocations: 1.046 MB / 0.5915 GB, free: 4.238 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005526/0.6229, allocations: 0.9791 MB / 0.5924 GB, free: 3.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.6235, allocations: 213.6 kB / 0.5927 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6235, allocations: 0 / 0.5927 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.6236, allocations: 34.08 kB / 0.5927 GB, free: 3.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.6265, allocations: 473.9 kB / 0.5931 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.6284, allocations: 1.161 MB / 0.5943 GB, free: 1.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.6289, allocations: 0.9336 MB / 0.5952 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6291, allocations: 50 kB / 0.5952 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6291, allocations: 0 / 0.5952 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of Templates: time 0.04054/0.6696, allocations: 24.41 MB / 0.6191 GB, free: 8.426 MB / 478.1 MB 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)