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.001506/0.001506, allocations: 97.97 kB / 16.5 MB, free: 6.641 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.001559/0.001559, allocations: 191.1 kB / 17.42 MB, free: 6.07 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.445/1.445, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2853/0.2853, allocations: 48.83 MB / 319.4 MB, free: 11.32 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.001572/0.001572, allocations: 66.23 kB / 389.3 MB, free: 49.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09446, allocations: 59.17 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.0762/0.1707, allocations: 78.69 MB / 0.5149 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2314/0.4022, allocations: 11.93 MB / 0.5265 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.4035, allocations: 29.12 kB / 0.5265 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.4046, allocations: 328.8 kB / 0.5268 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.4058, allocations: 495.5 kB / 0.5273 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.4207, allocations: 4.814 MB / 0.532 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.4233, allocations: 1.86 MB / 0.5338 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.4239, allocations: 342.4 kB / 0.5342 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.4247, allocations: 436.7 kB / 0.5346 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.4253, allocations: 488.2 kB / 0.535 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.4254, allocations: 30.5 kB / 0.5351 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.4389, allocations: 6.283 MB / 0.5412 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.4391, allocations: 109.6 kB / 0.5413 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007634/0.4399, allocations: 378.8 kB / 0.5417 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4536, allocations: 4.111 MB / 0.5457 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.4536, allocations: 0 / 0.5457 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4536, allocations: 0 / 0.5457 GB, free: 5.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4537, allocations: 1.375 kB / 0.5457 GB, free: 5.816 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.005474/0.4591, allocations: 1.485 MB / 0.5471 GB, free: 4.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4592, allocations: 9 kB / 0.5471 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.4596, allocations: 121.8 kB / 0.5473 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.4603, allocations: 0.4986 MB / 0.5478 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.4603, allocations: 38.41 kB / 0.5478 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.4604, allocations: 49.22 kB / 0.5478 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4615, allocations: 0.6218 MB / 0.5484 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.4615, allocations: 2.406 kB / 0.5484 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.4615, allocations: 24.12 kB / 0.5485 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.4616, allocations: 14.31 kB / 0.5485 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.4623, allocations: 359 kB / 0.5488 GB, free: 4.453 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.003155/0.4655, allocations: 3.551 MB / 0.5523 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.4659, allocations: 183.4 kB / 0.5525 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.466, allocations: 54.83 kB / 0.5525 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0617/0.5278, allocations: 31.99 MB / 0.5838 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.5278, allocations: 38.47 kB / 0.5838 GB, free: 9.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 3.226e-06/0.5279, allocations: 0 / 0.5838 GB, free: 9.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001384/0.5292, allocations: 361.5 kB / 0.5841 GB, free: 8.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5293, allocations: 134.5 kB / 0.5843 GB, free: 8.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.5303, allocations: 0.7248 MB / 0.585 GB, free: 8.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.5303, allocations: 29.64 kB / 0.585 GB, free: 8.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.5306, allocations: 352.8 kB / 0.5853 GB, free: 8.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.5306, allocations: 47.81 kB / 0.5854 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.5307, allocations: 59.56 kB / 0.5854 GB, free: 8.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5308, allocations: 316.1 kB / 0.5857 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.531, allocations: 57.17 kB / 0.5858 GB, free: 7.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.5311, allocations: 134 kB / 0.5859 GB, free: 7.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.5314, allocations: 191.3 kB / 0.5861 GB, free: 7.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5314, allocations: 2.594 kB / 0.5861 GB, free: 7.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000626/0.5321, allocations: 291.2 kB / 0.5864 GB, free: 7.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5321, allocations: 11.09 kB / 0.5864 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5321, allocations: 2.531 kB / 0.5864 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.5321, allocations: 3.031 kB / 0.5864 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.5325, allocations: 57.3 kB / 0.5865 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5325, allocations: 4.312 kB / 0.5865 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.5331, allocations: 61.42 kB / 0.5865 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5332, allocations: 8.438 kB / 0.5865 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002135/0.5334, allocations: 169.6 kB / 0.5867 GB, free: 7.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001686/0.5336, allocations: 180.1 kB / 0.5869 GB, free: 7.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002598/0.5338, allocations: 242.9 kB / 0.5871 GB, free: 7.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.377e-06/0.5339, allocations: 3.031 kB / 0.5871 GB, free: 7.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005068/0.5344, allocations: 301.8 kB / 0.5874 GB, free: 6.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5344, allocations: 7.844 kB / 0.5874 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5344, allocations: 3.031 kB / 0.5874 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.5344, allocations: 8.25 kB / 0.5874 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.5346, allocations: 51.59 kB / 0.5875 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5347, allocations: 10.25 kB / 0.5875 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.5352, allocations: 29.8 kB / 0.5875 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5352, allocations: 14.69 kB / 0.5875 GB, free: 6.977 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.0001368/0.5354, allocations: 205.4 kB / 0.5877 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.5356, allocations: 78.59 kB / 0.5878 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.5363, allocations: 0.4988 MB / 0.5883 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5363, allocations: 4 kB / 0.5883 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5363, allocations: 0 / 0.5883 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.5363, allocations: 3.984 kB / 0.5883 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009933/0.5373, allocations: 0.6148 MB / 0.5889 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5373, allocations: 4 kB / 0.5889 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5374, allocations: 23.67 kB / 0.5889 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5375, allocations: 0 / 0.5889 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5375, allocations: 7.984 kB / 0.5889 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5375, allocations: 3.094 kB / 0.5889 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5375, allocations: 4 kB / 0.5889 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.5379, allocations: 0.5022 MB / 0.5894 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.5381, allocations: 162 kB / 0.5896 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5384, allocations: 23.69 kB / 0.5896 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.5389, allocations: 19.84 kB / 0.5896 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.5389, allocations: 11.91 kB / 0.5896 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5389, allocations: 4 kB / 0.5896 GB, free: 5.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009921/0.5399, allocations: 0.7322 MB / 0.5903 GB, free: 4.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5399, allocations: 0 / 0.5903 GB, free: 4.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004555/0.5445, allocations: 1.039 MB / 0.5913 GB, free: 3.531 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.005903/0.5504, allocations: 0.9859 MB / 0.5923 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.551, allocations: 204.1 kB / 0.5925 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.551, allocations: 0 / 0.5925 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.5511, allocations: 35.73 kB / 0.5925 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.5541, allocations: 461.5 kB / 0.593 GB, free: 2.109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.556, allocations: 1.315 MB / 0.5943 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.5566, allocations: 0.933 MB / 0.5952 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000683/0.5573, allocations: 294 kB / 0.5955 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.5574, allocations: 49.94 kB / 0.5955 GB, free: 15.53 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5574, allocations: 0 / 0.5955 GB, free: 15.53 MB / 462.1 MB Notification: Performance of Templates: time 0.05953/0.617, allocations: 39.22 MB / 0.6338 GB, free: 8.461 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)