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.001163/0.001163, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.00118/0.00118, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.423/1.423, allocations: 205.1 MB / 223.7 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.2669/0.2669, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.00147/0.00147, allocations: 68.41 kB / 390.1 MB, free: 48.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09595, allocations: 59.15 MB / 449.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.1321/0.2281, allocations: 77.62 MB / 0.5145 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02251/0.2506, allocations: 11.1 MB / 0.5253 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008925/0.2516, allocations: 23.81 kB / 0.5254 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2531, allocations: 397.2 kB / 0.5257 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2/0.4532, allocations: 0.4951 MB / 0.5262 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.4666, allocations: 5.852 MB / 0.5319 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.4684, allocations: 1.372 MB / 0.5333 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.469, allocations: 409.3 kB / 0.5337 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.4697, allocations: 477 kB / 0.5341 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.4702, allocations: 479 kB / 0.5346 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.4703, allocations: 42.22 kB / 0.5346 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.482, allocations: 6.218 MB / 0.5407 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.4822, allocations: 122.4 kB / 0.5408 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008008/0.483, allocations: 396.9 kB / 0.5412 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008174/0.4912, allocations: 4.113 MB / 0.5452 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4912, allocations: 0 / 0.5452 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4912, allocations: 1.25 kB / 0.5452 GB, free: 6.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4913, allocations: 0 / 0.5452 GB, free: 6.141 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.00329/0.4946, allocations: 1.479 MB / 0.5467 GB, free: 5.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4946, allocations: 17.58 kB / 0.5467 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.4949, allocations: 117.5 kB / 0.5468 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.4955, allocations: 0.4991 MB / 0.5473 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.4955, allocations: 37.02 kB / 0.5473 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.4956, allocations: 54.28 kB / 0.5474 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.4965, allocations: 0.6125 MB / 0.548 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4965, allocations: 8.406 kB / 0.548 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.4966, allocations: 20.94 kB / 0.548 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4966, allocations: 13.38 kB / 0.548 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.4973, allocations: 352.9 kB / 0.5483 GB, free: 4.781 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.002346/0.4996, allocations: 3.557 MB / 0.5518 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.5001, allocations: 184 kB / 0.552 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.5002, allocations: 60.09 kB / 0.552 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06368/0.5639, allocations: 31.99 MB / 0.5833 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.5639, allocations: 43.84 kB / 0.5833 GB, free: 9.617 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/0.564, allocations: 0 / 0.5833 GB, free: 9.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001896/0.5659, allocations: 363.9 kB / 0.5837 GB, free: 9.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.566, allocations: 138.8 kB / 0.5838 GB, free: 9.324 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.5672, allocations: 0.724 MB / 0.5845 GB, free: 9.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.5673, allocations: 29.45 kB / 0.5845 GB, free: 9.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.5676, allocations: 357 kB / 0.5849 GB, free: 8.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.5677, allocations: 44.08 kB / 0.5849 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.5678, allocations: 48.48 kB / 0.585 GB, free: 8.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.568, allocations: 319.7 kB / 0.5853 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.5682, allocations: 59.59 kB / 0.5853 GB, free: 8.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.5684, allocations: 130.4 kB / 0.5855 GB, free: 8.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.5689, allocations: 191.6 kB / 0.5856 GB, free: 8.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5689, allocations: 0 / 0.5856 GB, free: 8.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005258/0.5694, allocations: 290.3 kB / 0.5859 GB, free: 8.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5694, allocations: 6.062 kB / 0.5859 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5695, allocations: 4.875 kB / 0.5859 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.5695, allocations: 3.719 kB / 0.5859 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.5698, allocations: 60.95 kB / 0.586 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5698, allocations: 6.219 kB / 0.586 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.5704, allocations: 42.41 kB / 0.586 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.5704, allocations: 18.98 kB / 0.586 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001977/0.5706, allocations: 161.7 kB / 0.5862 GB, free: 8.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001449/0.5707, allocations: 180.2 kB / 0.5864 GB, free: 7.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002451/0.571, allocations: 243.1 kB / 0.5866 GB, free: 7.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.571, allocations: 2.344 kB / 0.5866 GB, free: 7.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004346/0.5714, allocations: 296.4 kB / 0.5869 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.5715, allocations: 5.531 kB / 0.5869 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5715, allocations: 8 kB / 0.5869 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5715, allocations: 12.58 kB / 0.5869 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.5717, allocations: 55.44 kB / 0.587 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5717, allocations: 5.938 kB / 0.587 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.5722, allocations: 22.09 kB / 0.587 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.5722, allocations: 14.53 kB / 0.587 GB, free: 7.586 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.000139/0.5724, allocations: 205.8 kB / 0.5872 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.5726, allocations: 81.3 kB / 0.5873 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.5732, allocations: 0.5067 MB / 0.5878 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5732, allocations: 0 / 0.5878 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5732, allocations: 4 kB / 0.5878 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5732, allocations: 0 / 0.5878 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.5741, allocations: 0.6191 MB / 0.5884 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5742, allocations: 4 kB / 0.5884 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.5742, allocations: 19.98 kB / 0.5884 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5743, allocations: 0 / 0.5884 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5743, allocations: 3.688 kB / 0.5884 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5743, allocations: 4 kB / 0.5884 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5743, allocations: 3.75 kB / 0.5884 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.5747, allocations: 0.5072 MB / 0.5889 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.5749, allocations: 148.4 kB / 0.5891 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.575, allocations: 37.78 kB / 0.5891 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.5754, allocations: 3.688 kB / 0.5891 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.5755, allocations: 12.72 kB / 0.5891 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.5755, allocations: 4 kB / 0.5891 GB, free: 5.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008288/0.5763, allocations: 0.7292 MB / 0.5898 GB, free: 5.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5763, allocations: 4 kB / 0.5898 GB, free: 5.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003909/0.5802, allocations: 1.042 MB / 0.5908 GB, free: 4.242 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.005696/0.5859, allocations: 0.97 MB / 0.5918 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.5865, allocations: 215.1 kB / 0.592 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5866, allocations: 7.938 kB / 0.592 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.5866, allocations: 38.64 kB / 0.592 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.003012/0.5897, allocations: 471.9 kB / 0.5925 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.5913, allocations: 1.112 MB / 0.5936 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.5918, allocations: 0.933 MB / 0.5945 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005928/0.5924, allocations: 284.1 kB / 0.5948 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5926, allocations: 57.86 kB / 0.5948 GB, free: 428 kB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5926, allocations: 0 / 0.5948 GB, free: 428 kB / 446.1 MB Notification: Performance of Templates: time 0.05454/0.6471, allocations: 39.86 MB / 0.6337 GB, free: 8.699 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)