Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 113.2 kB / 16.92 MB, free: 5.855 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.001043/0.001043, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.345/1.345, allocations: 205.1 MB / 223.7 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.2722/0.2722, 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.001478/0.001479, allocations: 70.28 kB / 390.1 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.09255, allocations: 59.16 MB / 449.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.03962/0.1322, allocations: 41.97 MB / 491.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1442, allocations: 9.88 MB / 0.4893 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.1447, allocations: 11.94 kB / 0.4894 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.1455, allocations: 226.5 kB / 0.4896 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.1461, allocations: 297.9 kB / 0.4899 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.1572, allocations: 4.714 MB / 0.4945 GB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.158, allocations: 0.7504 MB / 0.4952 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.1584, allocations: 251.7 kB / 0.4954 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.1587, allocations: 278.9 kB / 0.4957 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.1591, allocations: 290.7 kB / 0.496 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.1591, allocations: 28 kB / 0.496 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009708/0.1689, allocations: 6.103 MB / 0.502 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.169, allocations: 75.69 kB / 0.502 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.1692, allocations: 230.8 kB / 0.5023 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.1748, allocations: 3.77 MB / 0.5059 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.1748, allocations: 0 / 0.5059 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1748, allocations: 0 / 0.5059 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1748, allocations: 0 / 0.5059 GB, free: 4.707 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002487/0.1773, allocations: 1.181 MB / 0.5071 GB, free: 3.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1773, allocations: 19.88 kB / 0.5071 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.1776, allocations: 68.36 kB / 0.5072 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.178, allocations: 370.2 kB / 0.5075 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1781, allocations: 21.03 kB / 0.5075 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.1781, allocations: 32.31 kB / 0.5076 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.1789, allocations: 381 kB / 0.5079 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1789, allocations: 11.94 kB / 0.508 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.1789, allocations: 8 kB / 0.508 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1789, allocations: 8 kB / 0.508 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.1796, allocations: 254 kB / 0.5082 GB, free: 2.262 MB / 398.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.001985/0.1816, allocations: 2.042 MB / 0.5102 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.182, allocations: 154.4 kB / 0.5104 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.1822, allocations: 76.81 kB / 0.5104 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2331/0.4153, allocations: 31.97 MB / 0.5416 GB, free: 74.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4154, allocations: 32.69 kB / 0.5417 GB, free: 74.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.4154, allocations: 0 / 0.5417 GB, free: 74.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002434/0.4178, allocations: 0.5711 MB / 0.5422 GB, free: 74.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.4179, allocations: 57.98 kB / 0.5423 GB, free: 74.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.4183, allocations: 401 kB / 0.5427 GB, free: 74.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4184, allocations: 25.7 kB / 0.5427 GB, free: 74.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.4185, allocations: 229.8 kB / 0.5429 GB, free: 74.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.4186, allocations: 52.58 kB / 0.543 GB, free: 74.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.4187, allocations: 46.27 kB / 0.543 GB, free: 74.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.4188, allocations: 353 kB / 0.5434 GB, free: 74.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4189, allocations: 73.31 kB / 0.5434 GB, free: 74.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.4191, allocations: 111.9 kB / 0.5435 GB, free: 74.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.4195, allocations: 177.1 kB / 0.5437 GB, free: 74.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4195, allocations: 1.688 kB / 0.5437 GB, free: 74.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005653/0.4201, allocations: 308.6 kB / 0.544 GB, free: 73.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4201, allocations: 5.562 kB / 0.544 GB, free: 73.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4201, allocations: 1.312 kB / 0.544 GB, free: 73.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.4224, allocations: 337.9 kB / 0.5443 GB, free: 73.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.4226, allocations: 55.5 kB / 0.5444 GB, free: 73.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007249/0.4234, allocations: 0.6538 MB / 0.545 GB, free: 73.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.4237, allocations: 27.33 kB / 0.545 GB, free: 73.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.4237, allocations: 10.03 kB / 0.545 GB, free: 73.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002196/0.4239, allocations: 163.2 kB / 0.5452 GB, free: 73.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001663/0.4241, allocations: 126.2 kB / 0.5453 GB, free: 73.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002969/0.4244, allocations: 190.1 kB / 0.5455 GB, free: 73.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.4244, allocations: 0 / 0.5455 GB, free: 73.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007216/0.4252, allocations: 295.1 kB / 0.5458 GB, free: 72.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4252, allocations: 5.844 kB / 0.5458 GB, free: 72.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4252, allocations: 4.125 kB / 0.5458 GB, free: 72.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.4255, allocations: 82.72 kB / 0.5459 GB, free: 72.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.4258, allocations: 61.88 kB / 0.5459 GB, free: 72.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4273, allocations: 1.559 MB / 0.5475 GB, free: 71.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4275, allocations: 22.67 kB / 0.5475 GB, free: 71.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4276, allocations: 15.64 kB / 0.5475 GB, free: 71.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.4277, allocations: 193.8 kB / 0.5477 GB, free: 71.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.4278, allocations: 39.89 kB / 0.5477 GB, free: 71.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.4289, allocations: 0.9102 MB / 0.5486 GB, free: 70.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.429, allocations: 12.14 kB / 0.5486 GB, free: 70.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.429, allocations: 1.688 kB / 0.5486 GB, free: 70.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.429, allocations: 0 / 0.5486 GB, free: 70.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.4295, allocations: 0.5463 MB / 0.5492 GB, free: 70.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4295, allocations: 3.656 kB / 0.5492 GB, free: 70.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.4296, allocations: 26.17 kB / 0.5492 GB, free: 70.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.4311, allocations: 0.4917 MB / 0.5497 GB, free: 69.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.4312, allocations: 9.359 kB / 0.5497 GB, free: 69.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008423/0.432, allocations: 1.08 MB / 0.5507 GB, free: 69.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.432, allocations: 3.375 kB / 0.5507 GB, free: 69.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.4329, allocations: 0.7901 MB / 0.5515 GB, free: 68.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.433, allocations: 133.1 kB / 0.5516 GB, free: 68.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.4331, allocations: 14.69 kB / 0.5516 GB, free: 68.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4333, allocations: 11.05 kB / 0.5517 GB, free: 68.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.4334, allocations: 21.45 kB / 0.5517 GB, free: 68.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4334, allocations: 4.094 kB / 0.5517 GB, free: 68.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003101/0.4337, allocations: 339.2 kB / 0.552 GB, free: 68.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 0 / 0.552 GB, free: 68.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002504/0.4362, allocations: 0.9446 MB / 0.5529 GB, free: 68.09 MB / 414.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: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003067/0.4393, allocations: 0.9698 MB / 0.5539 GB, free: 67.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.4406, allocations: 497.8 kB / 0.5543 GB, free: 67.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4407, allocations: 0 / 0.5543 GB, free: 67.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.441, allocations: 190.6 kB / 0.5545 GB, free: 67.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.4422, allocations: 227.3 kB / 0.5547 GB, free: 67.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4433, allocations: 0.8623 MB / 0.5556 GB, free: 66.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.4435, allocations: 0.8446 MB / 0.5564 GB, free: 66.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.4438, allocations: 170.1 kB / 0.5566 GB, free: 66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.4438, allocations: 31.19 kB / 0.5566 GB, free: 65.99 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4438, allocations: 0 / 0.5566 GB, free: 65.99 MB / 414.1 MB Notification: Performance of Templates: time 0.03485/0.4787, allocations: 35.69 MB / 0.5915 GB, free: 32.3 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)