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.001472/0.001472, allocations: 110 kB / 17.68 MB, free: 5.332 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.001605/0.001605, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.411/1.411, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2803/0.2803, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001651/0.001651, allocations: 66.03 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09173, allocations: 59.15 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.07257/0.1643, allocations: 77.61 MB / 0.5159 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.1783, allocations: 11.09 MB / 0.5267 GB, free: 36 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.1791, allocations: 23.81 kB / 0.5268 GB, free: 12 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1967/0.3758, allocations: 405.1 kB / 0.5271 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.377, allocations: 0.503 MB / 0.5276 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01328/0.3903, allocations: 5.853 MB / 0.5334 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.392, allocations: 1.371 MB / 0.5347 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.3926, allocations: 411.7 kB / 0.5351 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.3932, allocations: 479.9 kB / 0.5355 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.3938, allocations: 479.8 kB / 0.536 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.3939, allocations: 43.19 kB / 0.536 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.4053, allocations: 6.35 MB / 0.5422 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4055, allocations: 121.5 kB / 0.5424 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.4062, allocations: 396.2 kB / 0.5427 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00736/0.4135, allocations: 4.116 MB / 0.5468 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4136, allocations: 5.031 kB / 0.5468 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4136, allocations: 0 / 0.5468 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4136, allocations: 0 / 0.5468 GB, free: 5.574 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.003399/0.417, allocations: 1.484 MB / 0.5482 GB, free: 4.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.417, allocations: 14.05 kB / 0.5482 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.4174, allocations: 119.6 kB / 0.5483 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.4181, allocations: 0.5245 MB / 0.5489 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.4181, allocations: 34.78 kB / 0.5489 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4182, allocations: 47.84 kB / 0.5489 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.4192, allocations: 0.6176 MB / 0.5495 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4192, allocations: 2.031 kB / 0.5495 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.4192, allocations: 23.8 kB / 0.5496 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4192, allocations: 14.03 kB / 0.5496 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.42, allocations: 355.7 kB / 0.5499 GB, free: 4.211 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.002524/0.4225, allocations: 3.539 MB / 0.5534 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.423, allocations: 184.7 kB / 0.5535 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.4231, allocations: 60.11 kB / 0.5536 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0605/0.4836, allocations: 32.15 MB / 0.585 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.4837, allocations: 41.38 kB / 0.585 GB, free: 8.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/0.4837, allocations: 3.062 kB / 0.585 GB, free: 8.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001329/0.485, allocations: 358 kB / 0.5854 GB, free: 8.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.4851, allocations: 131.4 kB / 0.5855 GB, free: 8.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.4859, allocations: 0.7253 MB / 0.5862 GB, free: 8.223 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.486, allocations: 29.2 kB / 0.5862 GB, free: 8.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.4862, allocations: 365.2 kB / 0.5866 GB, free: 8.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.4863, allocations: 37.58 kB / 0.5866 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.4864, allocations: 58.38 kB / 0.5867 GB, free: 7.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4865, allocations: 316.7 kB / 0.587 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4866, allocations: 55.86 kB / 0.587 GB, free: 7.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.4868, allocations: 133.9 kB / 0.5872 GB, free: 7.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4871, allocations: 194 kB / 0.5873 GB, free: 7.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4871, allocations: 2.562 kB / 0.5873 GB, free: 7.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000565/0.4877, allocations: 293.8 kB / 0.5876 GB, free: 7.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4877, allocations: 6.312 kB / 0.5876 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4877, allocations: 2.5 kB / 0.5876 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4878, allocations: 5.594 kB / 0.5876 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.4881, allocations: 56.83 kB / 0.5877 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4881, allocations: 12.11 kB / 0.5877 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.4887, allocations: 47.47 kB / 0.5878 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4887, allocations: 12.27 kB / 0.5878 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002099/0.489, allocations: 165.7 kB / 0.5879 GB, free: 7.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001575/0.4891, allocations: 175 kB / 0.5881 GB, free: 7.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000262/0.4894, allocations: 244.3 kB / 0.5883 GB, free: 6.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.4894, allocations: 2.969 kB / 0.5883 GB, free: 6.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004782/0.4899, allocations: 294.2 kB / 0.5886 GB, free: 6.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4899, allocations: 7.812 kB / 0.5886 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4899, allocations: 5.906 kB / 0.5886 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.4899, allocations: 5.438 kB / 0.5886 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4902, allocations: 62.22 kB / 0.5887 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4902, allocations: 12.17 kB / 0.5887 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.4907, allocations: 20.56 kB / 0.5887 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4907, allocations: 14.16 kB / 0.5887 GB, free: 6.703 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.0001485/0.4908, allocations: 199.3 kB / 0.5889 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.491, allocations: 80.59 kB / 0.589 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/0.4917, allocations: 0.4995 MB / 0.5895 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4917, allocations: 4.562 kB / 0.5895 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4917, allocations: 0 / 0.5895 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4917, allocations: 0 / 0.5895 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4927, allocations: 0.6146 MB / 0.5901 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4927, allocations: 4 kB / 0.5901 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.4928, allocations: 27.67 kB / 0.5901 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4928, allocations: 2.688 kB / 0.5901 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4929, allocations: 7.984 kB / 0.5901 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4929, allocations: 0 / 0.5901 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4929, allocations: 0 / 0.5901 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.4933, allocations: 0.5062 MB / 0.5906 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.4936, allocations: 157.6 kB / 0.5908 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4938, allocations: 32.78 kB / 0.5908 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.4942, allocations: 3.438 kB / 0.5908 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.4942, allocations: 9.859 kB / 0.5908 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4942, allocations: 4 kB / 0.5908 GB, free: 4.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008484/0.4951, allocations: 0.7313 MB / 0.5915 GB, free: 4.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4951, allocations: 0 / 0.5915 GB, free: 4.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004442/0.4995, allocations: 1.031 MB / 0.5925 GB, free: 3.422 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.006415/0.5059, allocations: 0.9801 MB / 0.5935 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005464/0.5065, allocations: 208.2 kB / 0.5937 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5065, allocations: 1.938 kB / 0.5937 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.5066, allocations: 40 kB / 0.5937 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.5091, allocations: 465.6 kB / 0.5942 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.5108, allocations: 1.103 MB / 0.5953 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.5113, allocations: 0.93 MB / 0.5962 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.5119, allocations: 298.5 kB / 0.5965 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5121, allocations: 54.67 kB / 0.5965 GB, free: 15.62 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5121, allocations: 0 / 0.5965 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Templates: time 0.05287/0.5649, allocations: 39.7 MB / 0.6353 GB, free: 8.059 MB / 494.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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)