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.001256/0.001256, allocations: 107.5 kB / 17.74 MB, free: 5.188 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.001084/0.001084, allocations: 188.2 kB / 18.67 MB, free: 4.266 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.528/1.528, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3216/0.3216, allocations: 48.85 MB / 320.7 MB, free: 11 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.002421/0.002421, allocations: 68.47 kB / 451.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1549, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.3304/0.4854, allocations: 44.07 MB / 0.5415 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.5038, allocations: 15.47 MB / 0.5566 GB, free: 72 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.5044, allocations: 8.375 kB / 0.5566 GB, free: 68 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.5052, allocations: 194.9 kB / 0.5568 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.506, allocations: 254.3 kB / 0.557 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02264/0.5286, allocations: 6.6 MB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.5299, allocations: 0.6651 MB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.5304, allocations: 252.2 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.5307, allocations: 242.5 kB / 0.5646 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.5311, allocations: 257.4 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.5311, allocations: 28.5 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02066/0.5518, allocations: 8.989 MB / 0.5736 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.552, allocations: 74.64 kB / 0.5737 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.5524, allocations: 212.5 kB / 0.5739 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.5686, allocations: 5.243 MB / 0.579 GB, free: 4.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5687, allocations: 0 / 0.579 GB, free: 4.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5687, allocations: 0 / 0.579 GB, free: 4.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.5687, allocations: 6.031 kB / 0.579 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.004971/0.5737, allocations: 1.291 MB / 0.5803 GB, free: 3.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5738, allocations: 14.45 kB / 0.5803 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.5741, allocations: 61.55 kB / 0.5804 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.5747, allocations: 335.3 kB / 0.5807 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.5747, allocations: 22.75 kB / 0.5807 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.5748, allocations: 37.53 kB / 0.5807 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.5756, allocations: 378.5 kB / 0.5811 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.5756, allocations: 5.531 kB / 0.5811 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.5757, allocations: 14.5 kB / 0.5811 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.5757, allocations: 9 kB / 0.5811 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.5763, allocations: 258.4 kB / 0.5814 GB, free: 2.715 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.001954/0.5783, allocations: 1.624 MB / 0.583 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.579, allocations: 199.6 kB / 0.5831 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.5791, allocations: 72.58 kB / 0.5832 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1254/0.7045, allocations: 64.26 MB / 0.646 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.7046, allocations: 34.56 kB / 0.646 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 2.455e-06/0.7046, allocations: 0 / 0.646 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17): time 0.001624/0.7063, allocations: 462.7 kB / 0.6464 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.7063, allocations: 59.39 kB / 0.6465 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.7068, allocations: 353.5 kB / 0.6468 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.7069, allocations: 37.7 kB / 0.6469 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.7071, allocations: 204 kB / 0.6471 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.7072, allocations: 63.09 kB / 0.6471 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.7073, allocations: 49.61 kB / 0.6472 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.7076, allocations: 346.8 kB / 0.6475 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.7078, allocations: 60.84 kB / 0.6476 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.708, allocations: 114 kB / 0.6477 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.7084, allocations: 185.6 kB / 0.6478 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.7084, allocations: 4 kB / 0.6479 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007727/0.7092, allocations: 290.6 kB / 0.6481 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.7092, allocations: 12.12 kB / 0.6481 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.7092, allocations: 7.984 kB / 0.6481 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.7097, allocations: 69.67 kB / 0.6482 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.7099, allocations: 51.91 kB / 0.6483 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.7121, allocations: 2.001 MB / 0.6502 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.7124, allocations: 27.72 kB / 0.6502 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.7124, allocations: 11.98 kB / 0.6503 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002369/0.7127, allocations: 172.1 kB / 0.6504 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001572/0.7128, allocations: 102 kB / 0.6505 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002733/0.7131, allocations: 181.8 kB / 0.6507 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.7131, allocations: 0 / 0.6507 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005977/0.7137, allocations: 298.7 kB / 0.651 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.7138, allocations: 4 kB / 0.651 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7138, allocations: 4 kB / 0.651 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.7141, allocations: 82.66 kB / 0.6511 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.7143, allocations: 47.91 kB / 0.6511 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.7158, allocations: 1.992 MB / 0.6531 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.716, allocations: 19.88 kB / 0.6531 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.716, allocations: 12 kB / 0.6531 GB, free: 3.309 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.0001495/0.7162, allocations: 196.3 kB / 0.6533 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.7162, allocations: 31.62 kB / 0.6533 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.7173, allocations: 0.8262 MB / 0.6541 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.7173, allocations: 11.98 kB / 0.6541 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7174, allocations: 0 / 0.6541 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7174, allocations: 0 / 0.6541 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.7182, allocations: 0.5501 MB / 0.6547 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.7182, allocations: 4 kB / 0.6547 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.7185, allocations: 39.97 kB / 0.6547 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.7186, allocations: 36.47 kB / 0.6547 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.7186, allocations: 7.938 kB / 0.6547 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.7199, allocations: 1.375 MB / 0.6561 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.7199, allocations: 7.969 kB / 0.6561 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.721, allocations: 0.799 MB / 0.6569 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.7212, allocations: 132.4 kB / 0.657 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.7212, allocations: 0 / 0.657 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.7214, allocations: 11.98 kB / 0.657 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.7215, allocations: 15.92 kB / 0.657 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.7215, allocations: 8 kB / 0.657 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002803/0.7218, allocations: 251.2 kB / 0.6573 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7218, allocations: 7.938 kB / 0.6573 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005277/0.7271, allocations: 1.343 MB / 0.6586 GB, free: 13.42 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.009056/0.7361, allocations: 1.417 MB / 0.66 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.7376, allocations: 0.6104 MB / 0.6606 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7376, allocations: 0 / 0.6606 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.738, allocations: 295.2 kB / 0.6609 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.739, allocations: 172 kB / 0.661 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.7411, allocations: 1.178 MB / 0.6622 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.7416, allocations: 0.8402 MB / 0.663 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.7417, allocations: 31.44 kB / 0.663 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.7417, allocations: 0 / 0.663 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of Templates: time 0.04825/0.7899, allocations: 29.39 MB / 0.6917 GB, free: 11.35 MB / 0.545 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)