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.0009643/0.0009645, allocations: 85.8 kB / 16.31 MB, free: 5.945 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.001125/0.001125, allocations: 179.8 kB / 17.21 MB, free: 5.867 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.745/1.745, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4975/0.4975, allocations: 48.77 MB / 320.4 MB, free: 3.785 MB / 254.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.0005761/0.0005761, allocations: 16 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 60.25 MB / 451.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2416/0.3641, allocations: 72.36 MB / 0.5115 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.379, allocations: 10.46 MB / 0.5217 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000934/0.38, allocations: 27.5 kB / 0.5217 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3811, allocations: 314.1 kB / 0.522 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.3825, allocations: 0.5428 MB / 0.5226 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01484/0.3973, allocations: 4.512 MB / 0.527 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.3997, allocations: 1.588 MB / 0.5285 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.4004, allocations: 326.7 kB / 0.5288 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008778/0.4013, allocations: 427.1 kB / 0.5292 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.4019, allocations: 461.6 kB / 0.5297 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.402, allocations: 24 kB / 0.5297 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.4141, allocations: 6.012 MB / 0.5356 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.4144, allocations: 95.5 kB / 0.5357 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.4148, allocations: 169.3 kB / 0.5358 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004992/0.4198, allocations: 2.74 MB / 0.5385 GB, free: 9.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4198, allocations: 0 / 0.5385 GB, free: 9.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4198, allocations: 4 kB / 0.5385 GB, free: 9.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4199, allocations: 0 / 0.5385 GB, free: 9.285 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.002875/0.4227, allocations: 1.365 MB / 0.5398 GB, free: 7.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4228, allocations: 8.031 kB / 0.5399 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.4231, allocations: 114.9 kB / 0.54 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.4237, allocations: 490.6 kB / 0.5404 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.4238, allocations: 37 kB / 0.5405 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.4239, allocations: 51.94 kB / 0.5405 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4249, allocations: 0.6106 MB / 0.5411 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4249, allocations: 3.938 kB / 0.5411 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.4249, allocations: 24 kB / 0.5411 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.425, allocations: 15.98 kB / 0.5412 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.4257, allocations: 357.9 kB / 0.5415 GB, free: 6.07 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.002929/0.4286, allocations: 3.541 MB / 0.545 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.4291, allocations: 182.4 kB / 0.5451 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.4292, allocations: 67.39 kB / 0.5452 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05423/0.4834, allocations: 32.29 MB / 0.5767 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4835, allocations: 38.56 kB / 0.5768 GB, free: 13.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.4835, allocations: 4 kB / 0.5768 GB, free: 13.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001163/0.4846, allocations: 356.4 kB / 0.5771 GB, free: 13.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4847, allocations: 136.5 kB / 0.5772 GB, free: 13.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007699/0.4855, allocations: 0.7278 MB / 0.578 GB, free: 12.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4855, allocations: 25.7 kB / 0.578 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.4858, allocations: 355.9 kB / 0.5783 GB, free: 12.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.4858, allocations: 47.38 kB / 0.5784 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.4858, allocations: 0 / 0.5784 GB, free: 12.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.4859, allocations: 314 kB / 0.5787 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.486, allocations: 43.97 kB / 0.5787 GB, free: 11.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4862, allocations: 122.3 kB / 0.5788 GB, free: 11.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.4863, allocations: 56.67 kB / 0.5789 GB, free: 11.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4863, allocations: 4 kB / 0.5789 GB, free: 11.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003935/0.4867, allocations: 276.4 kB / 0.5791 GB, free: 11.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.4868, allocations: 170.7 kB / 0.5793 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4868, allocations: 0 / 0.5793 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4868, allocations: 11.94 kB / 0.5793 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.4871, allocations: 55.91 kB / 0.5794 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4871, allocations: 7.984 kB / 0.5794 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.4875, allocations: 55.28 kB / 0.5794 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.4875, allocations: 15.98 kB / 0.5794 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.002e-06/0.4875, allocations: 4 kB / 0.5794 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002441/0.4878, allocations: 159.6 kB / 0.5796 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4878, allocations: 4 kB / 0.5796 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.4878, allocations: 7.953 kB / 0.5796 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.488, allocations: 51.97 kB / 0.5797 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.488, allocations: 11.12 kB / 0.5797 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.4883, allocations: 55.61 kB / 0.5797 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.4883, allocations: 12 kB / 0.5797 GB, free: 10.63 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.4885, allocations: 248.9 kB / 0.58 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4887, allocations: 75.06 kB / 0.58 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005574/0.4892, allocations: 0.5207 MB / 0.5806 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4893, allocations: 7.953 kB / 0.5806 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4893, allocations: 0 / 0.5806 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4893, allocations: 7.984 kB / 0.5806 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.49, allocations: 0.605 MB / 0.5812 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.49, allocations: 0 / 0.5812 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.4901, allocations: 19.98 kB / 0.5812 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4901, allocations: 0 / 0.5812 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4901, allocations: 11.98 kB / 0.5812 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4901, allocations: 5.109 kB / 0.5812 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4901, allocations: 7.953 kB / 0.5812 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.4905, allocations: 0.4933 MB / 0.5817 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.4907, allocations: 243.6 kB / 0.5819 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/0.4908, allocations: 3.984 kB / 0.5819 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.4912, allocations: 27.78 kB / 0.5819 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.4912, allocations: 11.94 kB / 0.582 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4912, allocations: 4 kB / 0.582 GB, free: 8.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007812/0.492, allocations: 0.7189 MB / 0.5827 GB, free: 7.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.492, allocations: 0 / 0.5827 GB, free: 7.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002667/0.4947, allocations: 1.05 MB / 0.5837 GB, free: 6.473 MB / 462.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 (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.002964/0.4976, allocations: 0.9908 MB / 0.5847 GB, free: 5.473 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.498, allocations: 179.9 kB / 0.5848 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.498, allocations: 4 kB / 0.5848 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.4981, allocations: 35.92 kB / 0.5849 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.5003, allocations: 464.9 kB / 0.5853 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5018, allocations: 1.297 MB / 0.5866 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.5022, allocations: 0.9294 MB / 0.5875 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005116/0.5027, allocations: 287.8 kB / 0.5878 GB, free: 2.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.5028, allocations: 55.42 kB / 0.5878 GB, free: 2.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5028, allocations: 0 / 0.5878 GB, free: 2.18 MB / 462.1 MB Notification: Performance of Templates: time 0.05054/0.5534, allocations: 39.45 MB / 0.6263 GB, free: 10.75 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: