Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 109.7 kB / 17.06 MB, free: 6.016 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.001697/0.001697, allocations: 191 kB / 18 MB, free: 5.102 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.412/1.412, allocations: 205.1 MB / 223.9 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.311/0.311, allocations: 48.85 MB / 320.1 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.001547/0.001547, allocations: 68.38 kB / 450.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 59.16 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.3127/0.4371, allocations: 44.07 MB / 0.5408 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.4553, allocations: 15.48 MB / 0.5559 GB, free: 16 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.4558, allocations: 5.969 kB / 0.5559 GB, free: 16 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.4565, allocations: 192.6 kB / 0.5561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.4572, allocations: 251 kB / 0.5563 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02174/0.479, allocations: 6.608 MB / 0.5628 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.4803, allocations: 0.6599 MB / 0.5634 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.4808, allocations: 244.8 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.4812, allocations: 250.6 kB / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.4815, allocations: 253.5 kB / 0.5642 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.4816, allocations: 28.12 kB / 0.5642 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01988/0.5015, allocations: 8.996 MB / 0.573 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.5016, allocations: 70.42 kB / 0.573 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.502, allocations: 213.6 kB / 0.5732 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.518, allocations: 5.25 MB / 0.5784 GB, free: 4.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.518, allocations: 8 kB / 0.5784 GB, free: 4.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5181, allocations: 0 / 0.5784 GB, free: 4.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.5181, allocations: 0 / 0.5784 GB, free: 4.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005865/0.524, allocations: 1.326 MB / 0.5797 GB, free: 3.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.524, allocations: 16.45 kB / 0.5797 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.5244, allocations: 71 kB / 0.5798 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.5252, allocations: 338.1 kB / 0.5801 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.5253, allocations: 24.28 kB / 0.5801 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.5253, allocations: 29.38 kB / 0.5801 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.5262, allocations: 387.3 kB / 0.5805 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5262, allocations: 5.469 kB / 0.5805 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.5263, allocations: 10.75 kB / 0.5805 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.5263, allocations: 12.78 kB / 0.5805 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006822/0.527, allocations: 252.1 kB / 0.5808 GB, free: 2.668 MB / 430.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.002146/0.5291, allocations: 1.622 MB / 0.5823 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.5298, allocations: 212.8 kB / 0.5826 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.53, allocations: 72.91 kB / 0.5826 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1329/0.6629, allocations: 64.26 MB / 0.6454 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.663, allocations: 38.5 kB / 0.6454 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 2.775e-06/0.663, allocations: 0 / 0.6454 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17): time 0.001761/0.6648, allocations: 459 kB / 0.6458 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.6649, allocations: 63.41 kB / 0.6459 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.6654, allocations: 353.7 kB / 0.6462 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6654, allocations: 29.7 kB / 0.6463 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.6656, allocations: 212.2 kB / 0.6465 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.6657, allocations: 71.42 kB / 0.6465 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.6658, allocations: 49.64 kB / 0.6466 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6659, allocations: 342.8 kB / 0.6469 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.6661, allocations: 68.83 kB / 0.647 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.6662, allocations: 110 kB / 0.6471 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.6666, allocations: 177.6 kB / 0.6473 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6666, allocations: 7.938 kB / 0.6473 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006315/0.6672, allocations: 306.8 kB / 0.6476 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6673, allocations: 4 kB / 0.6476 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6673, allocations: 4 kB / 0.6476 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.6677, allocations: 77.59 kB / 0.6476 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6679, allocations: 43.97 kB / 0.6477 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.6695, allocations: 1.998 MB / 0.6496 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.6698, allocations: 27.81 kB / 0.6497 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6698, allocations: 12 kB / 0.6497 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002689/0.6701, allocations: 172.9 kB / 0.6498 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001465/0.6703, allocations: 106 kB / 0.6499 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002735/0.6706, allocations: 169.9 kB / 0.6501 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.6706, allocations: 4 kB / 0.6501 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005871/0.6712, allocations: 302.8 kB / 0.6504 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.6712, allocations: 4 kB / 0.6504 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6712, allocations: 4 kB / 0.6504 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.6715, allocations: 81.78 kB / 0.6505 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.6717, allocations: 43.92 kB / 0.6505 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.6732, allocations: 2 MB / 0.6525 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.6735, allocations: 19.91 kB / 0.6525 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.6735, allocations: 16.12 kB / 0.6525 GB, free: 3.273 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.6737, allocations: 196.1 kB / 0.6527 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.6738, allocations: 35.77 kB / 0.6527 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.6749, allocations: 0.8185 MB / 0.6535 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.675, allocations: 11.98 kB / 0.6535 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.675, allocations: 0 / 0.6535 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.675, allocations: 4 kB / 0.6535 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.6756, allocations: 0.554 MB / 0.6541 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6757, allocations: 2.812 kB / 0.6541 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.6759, allocations: 43.92 kB / 0.6541 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.676, allocations: 28.78 kB / 0.6542 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.676, allocations: 3.984 kB / 0.6542 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.6771, allocations: 1.373 MB / 0.6555 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-05/0.6771, allocations: 4.234 kB / 0.6555 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.6781, allocations: 0.8146 MB / 0.6563 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.6782, allocations: 132.7 kB / 0.6564 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.6783, allocations: 4 kB / 0.6564 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.6785, allocations: 4 kB / 0.6564 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.6786, allocations: 19.92 kB / 0.6565 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.6786, allocations: 11.98 kB / 0.6565 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002845/0.6789, allocations: 255.2 kB / 0.6567 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6789, allocations: 3.938 kB / 0.6567 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005401/0.6843, allocations: 1.357 MB / 0.658 GB, free: 13.36 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008799/0.6931, allocations: 1.427 MB / 0.6594 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.6946, allocations: 0.6065 MB / 0.66 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6947, allocations: 0 / 0.66 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.6951, allocations: 311.8 kB / 0.6603 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6963, allocations: 173.2 kB / 0.6605 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.6983, allocations: 1.155 MB / 0.6616 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.6988, allocations: 0.8363 MB / 0.6624 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000302/0.6991, allocations: 147 kB / 0.6626 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.6993, allocations: 31.44 kB / 0.6626 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.6993, allocations: 0 / 0.6626 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.07412/0.7734, allocations: 50.52 MB / 0.7119 GB, free: 5.988 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)