Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 104 kB / 17.59 MB, free: 5.555 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.001314/0.001314, allocations: 195.5 kB / 18.52 MB, free: 4.633 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.455/1.455, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3208/0.3208, allocations: 48.85 MB / 320.6 MB, free: 11.09 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.002182/0.002182, allocations: 68.88 kB / 390.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1122, allocations: 59.16 MB / 449.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.07526/0.1875, allocations: 70.9 MB / 0.5086 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.2049, allocations: 11.89 MB / 0.5202 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000939/0.2059, allocations: 23.81 kB / 0.5202 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.2073, allocations: 409.2 kB / 0.5206 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.2091, allocations: 0.5122 MB / 0.5211 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.2262, allocations: 5.554 MB / 0.5265 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.269/0.4953, allocations: 1.351 MB / 0.5279 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.4964, allocations: 0.5517 MB / 0.5284 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.4977, allocations: 0.5292 MB / 0.5289 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009896/0.4987, allocations: 0.5814 MB / 0.5295 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4988, allocations: 58.78 kB / 0.5295 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/0.5153, allocations: 6.344 MB / 0.5357 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.5158, allocations: 161.9 kB / 0.5359 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.5168, allocations: 442.1 kB / 0.5363 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.5317, allocations: 4.324 MB / 0.5405 GB, free: 9.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.5318, allocations: 2.375 kB / 0.5405 GB, free: 9.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5318, allocations: 0 / 0.5405 GB, free: 9.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.5318, allocations: 0.5938 kB / 0.5405 GB, free: 9.883 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.008314/0.5402, allocations: 1.809 MB / 0.5423 GB, free: 9.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.5402, allocations: 13.86 kB / 0.5423 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.5408, allocations: 129 kB / 0.5424 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.5417, allocations: 0.5533 MB / 0.543 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.5417, allocations: 38.84 kB / 0.543 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5418, allocations: 57.12 kB / 0.5431 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.5438, allocations: 0.8413 MB / 0.5439 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5438, allocations: 0.7188 kB / 0.5439 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.5439, allocations: 22.81 kB / 0.5439 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5439, allocations: 13.25 kB / 0.5439 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.546, allocations: 0.831 MB / 0.5447 GB, free: 8.555 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.003915/0.5499, allocations: 3.527 MB / 0.5482 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5511, allocations: 410 kB / 0.5486 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.5516, allocations: 200.8 kB / 0.5488 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06724/0.6188, allocations: 31.98 MB / 0.58 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.6189, allocations: 40.28 kB / 0.58 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008152/0.6197, allocations: 82.3 kB / 0.5801 GB, free: 15.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.6197, allocations: 0 / 0.5801 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.008345/0.6281, allocations: 1.801 MB / 0.5819 GB, free: 14.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.6282, allocations: 53.94 kB / 0.5819 GB, free: 14.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.6289, allocations: 0.6265 MB / 0.5825 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.6289, allocations: 33.02 kB / 0.5826 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.6292, allocations: 331.7 kB / 0.5829 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6293, allocations: 109.4 kB / 0.583 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6294, allocations: 79.42 kB / 0.5831 GB, free: 13.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6295, allocations: 325.4 kB / 0.5834 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.6299, allocations: 167.1 kB / 0.5835 GB, free: 13.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.6304, allocations: 214.8 kB / 0.5837 GB, free: 13.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.6312, allocations: 375.1 kB / 0.5841 GB, free: 13.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6312, allocations: 0 / 0.5841 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001389/0.6326, allocations: 0.638 MB / 0.5847 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6326, allocations: 5.469 kB / 0.5847 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6327, allocations: 1.906 kB / 0.5847 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00777/0.6404, allocations: 1.185 MB / 0.5859 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6407, allocations: 48.42 kB / 0.5859 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.6427, allocations: 0.9685 MB / 0.5869 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/0.6436, allocations: 28.16 kB / 0.5869 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.6436, allocations: 21.98 kB / 0.5869 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006392/0.6443, allocations: 268.9 kB / 0.5872 GB, free: 11.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004188/0.6447, allocations: 217.6 kB / 0.5874 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007846/0.6455, allocations: 374.4 kB / 0.5877 GB, free: 11.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-06/0.6455, allocations: 3.938 kB / 0.5877 GB, free: 11.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.00138/0.6469, allocations: 0.5354 MB / 0.5883 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6469, allocations: 4 kB / 0.5883 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6469, allocations: 4 kB / 0.5883 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.6473, allocations: 64.05 kB / 0.5883 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.6477, allocations: 94.89 kB / 0.5884 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.6494, allocations: 1.571 MB / 0.59 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.65, allocations: 23.53 kB / 0.59 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.65, allocations: 19.55 kB / 0.59 GB, free: 9.195 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.6503, allocations: 197.5 kB / 0.5902 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.6504, allocations: 79.12 kB / 0.5903 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.6531, allocations: 2.042 MB / 0.5923 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6532, allocations: 23.22 kB / 0.5923 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6532, allocations: 0 / 0.5923 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.6532, allocations: 3.984 kB / 0.5923 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6544, allocations: 0.9357 MB / 0.5932 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6544, allocations: 0 / 0.5932 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.6546, allocations: 42.66 kB / 0.5932 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/0.6578, allocations: 1.397 MB / 0.5946 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.6579, allocations: 11.69 kB / 0.5946 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.6602, allocations: 2.067 MB / 0.5966 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6603, allocations: 0 / 0.5966 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.6628, allocations: 1.752 MB / 0.5983 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.6633, allocations: 185.5 kB / 0.5985 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6634, allocations: 11.28 kB / 0.5985 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.6638, allocations: 28.66 kB / 0.5986 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.6639, allocations: 35.94 kB / 0.5986 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.664, allocations: 16 kB / 0.5986 GB, free: 2.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006813/0.6646, allocations: 460.4 kB / 0.599 GB, free: 2.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6647, allocations: 0 / 0.599 GB, free: 2.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005932/0.6706, allocations: 1.089 MB / 0.6001 GB, free: 1.461 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006645/0.6773, allocations: 0.9974 MB / 0.6011 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.6802, allocations: 0.9243 MB / 0.602 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6802, allocations: 0 / 0.602 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.6813, allocations: 0.4893 MB / 0.6025 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.6837, allocations: 423 kB / 0.6029 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.6864, allocations: 1.654 MB / 0.6045 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.6871, allocations: 0.9908 MB / 0.6055 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.6872, allocations: 43.44 kB / 0.6055 GB, free: 12.68 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6872, allocations: 0 / 0.6055 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Templates: time 0.04845/0.7357, allocations: 27.91 MB / 0.6327 GB, free: 0.9688 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)