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.001324/0.001324, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.00141/0.00141, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.506/1.506, 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.29/0.29, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001485/0.001485, allocations: 71.88 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1351, allocations: 59.17 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.3471/0.4823, allocations: 77.61 MB / 0.5742 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.4967, allocations: 11.09 MB / 0.585 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009937/0.4977, allocations: 22.62 kB / 0.585 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.4991, allocations: 402.8 kB / 0.5854 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.5005, allocations: 0.5041 MB / 0.5859 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01733/0.5178, allocations: 5.866 MB / 0.5917 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.5204, allocations: 1.374 MB / 0.593 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.5217, allocations: 405.7 kB / 0.5934 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.5231, allocations: 494.7 kB / 0.5939 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.5243, allocations: 475.8 kB / 0.5943 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.5244, allocations: 43.78 kB / 0.5943 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.5383, allocations: 6.348 MB / 0.6005 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.5386, allocations: 124.6 kB / 0.6007 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008473/0.5395, allocations: 400.6 kB / 0.601 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.5506, allocations: 4.11 MB / 0.6051 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.5507, allocations: 0 / 0.6051 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5507, allocations: 0 / 0.6051 GB, free: 12.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.705e-05/0.5507, allocations: 0 / 0.6051 GB, free: 12.88 MB / 462.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.004157/0.5549, allocations: 1.492 MB / 0.6065 GB, free: 11.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.555, allocations: 11.89 kB / 0.6065 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.5554, allocations: 115.9 kB / 0.6066 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.5563, allocations: 0.5228 MB / 0.6072 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.5564, allocations: 39.69 kB / 0.6072 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.5565, allocations: 55.33 kB / 0.6072 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5576, allocations: 0.6087 MB / 0.6078 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5577, allocations: 7.938 kB / 0.6078 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.5577, allocations: 20 kB / 0.6079 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.5578, allocations: 16 kB / 0.6079 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.5586, allocations: 356.1 kB / 0.6082 GB, free: 9.488 MB / 462.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.003558/0.5621, allocations: 3.536 MB / 0.6117 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.5626, allocations: 186.4 kB / 0.6118 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.5627, allocations: 59.52 kB / 0.6119 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06878/0.6315, allocations: 32.13 MB / 0.6433 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.6316, allocations: 34.5 kB / 0.6433 GB, free: 1.402 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.584e-06/0.6316, allocations: 0 / 0.6433 GB, free: 1.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001336/0.633, allocations: 360.9 kB / 0.6437 GB, free: 1.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.6331, allocations: 132.5 kB / 0.6438 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.634, allocations: 0.7395 MB / 0.6445 GB, free: 140 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.634, allocations: 29.7 kB / 0.6445 GB, free: 104 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.6343, allocations: 351.9 kB / 0.6449 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.6344, allocations: 51.33 kB / 0.6449 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.6345, allocations: 45.69 kB / 0.645 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6346, allocations: 318 kB / 0.6453 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.6347, allocations: 52.84 kB / 0.6453 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6349, allocations: 130.2 kB / 0.6454 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.6352, allocations: 190.1 kB / 0.6456 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6352, allocations: 4 kB / 0.6456 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005536/0.6358, allocations: 296.4 kB / 0.6459 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6358, allocations: 4 kB / 0.6459 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6358, allocations: 4.516 kB / 0.6459 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6359, allocations: 4 kB / 0.6459 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.6362, allocations: 55.91 kB / 0.646 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6362, allocations: 7.984 kB / 0.646 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.6366, allocations: 43.34 kB / 0.646 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.6367, allocations: 20.25 kB / 0.646 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002122/0.6369, allocations: 164.1 kB / 0.6462 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002008/0.6371, allocations: 179.8 kB / 0.6464 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002775/0.6374, allocations: 244.3 kB / 0.6466 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.588e-06/0.6374, allocations: 4 kB / 0.6466 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004864/0.6379, allocations: 300.4 kB / 0.6469 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6379, allocations: 11.91 kB / 0.6469 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6379, allocations: 4 kB / 0.6469 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.6379, allocations: 8 kB / 0.6469 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.6382, allocations: 59.89 kB / 0.647 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.6382, allocations: 8 kB / 0.647 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.6386, allocations: 24.23 kB / 0.647 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.6386, allocations: 23.98 kB / 0.647 GB, free: 13.3 MB / 0.4981 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 () * 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.0001352/0.6387, allocations: 192.1 kB / 0.6472 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.6389, allocations: 82.38 kB / 0.6473 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.6395, allocations: 0.4934 MB / 0.6478 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6396, allocations: 4 kB / 0.6478 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6396, allocations: 0 / 0.6478 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6396, allocations: 4 kB / 0.6478 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/0.6404, allocations: 0.6167 MB / 0.6484 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6404, allocations: 0 / 0.6484 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.6405, allocations: 27.92 kB / 0.6484 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6405, allocations: 0 / 0.6484 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.6405, allocations: 4 kB / 0.6484 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6405, allocations: 3.984 kB / 0.6484 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6405, allocations: 7.984 kB / 0.6484 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.641, allocations: 0.5048 MB / 0.6489 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.6412, allocations: 148.2 kB / 0.6491 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6413, allocations: 35.53 kB / 0.6491 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.6417, allocations: 3.984 kB / 0.6491 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.6417, allocations: 8 kB / 0.6491 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.6417, allocations: 7.984 kB / 0.6491 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008944/0.6426, allocations: 0.7228 MB / 0.6498 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.5e-07/0.6426, allocations: 4 kB / 0.6498 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003061/0.6457, allocations: 1.046 MB / 0.6508 GB, free: 9.281 MB / 0.4981 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 () * 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.004348/0.6501, allocations: 0.9766 MB / 0.6518 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.6506, allocations: 209 kB / 0.652 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6506, allocations: 3.938 kB / 0.652 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.6507, allocations: 36.36 kB / 0.652 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.6534, allocations: 462.4 kB / 0.6525 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.6552, allocations: 1.122 MB / 0.6536 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.6558, allocations: 0.9369 MB / 0.6545 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6559, allocations: 55.42 kB / 0.6545 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.6559, allocations: 0 / 0.6545 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.03827/0.6942, allocations: 24.4 MB / 0.6784 GB, free: 12.97 MB / 0.5294 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)