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.001097/0.001097, allocations: 108.1 kB / 17.06 MB, free: 6.137 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.001073/0.001073, allocations: 187.1 kB / 18 MB, free: 5.219 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.391/1.391, 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.3134/0.3134, 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.001416/0.001416, allocations: 63.91 kB / 450.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1438, 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.3572/0.501, allocations: 44.06 MB / 0.5408 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02664/0.5277, allocations: 15.48 MB / 0.5559 GB, free: 108 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.5282, allocations: 14.31 kB / 0.5559 GB, free: 100 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008116/0.5292, allocations: 192 kB / 0.5561 GB, free: 8 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.5298, allocations: 257.2 kB / 0.5563 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02445/0.5543, allocations: 6.62 MB / 0.5628 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.5557, allocations: 0.6577 MB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.5563, allocations: 250.1 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.5569, allocations: 247.2 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.5575, allocations: 253.4 kB / 0.5642 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.5576, allocations: 32.12 kB / 0.5642 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.579, allocations: 8.992 MB / 0.573 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.5792, allocations: 70.73 kB / 0.573 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004763/0.5796, allocations: 213.2 kB / 0.5733 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.5982, allocations: 5.245 MB / 0.5784 GB, free: 4.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.5982, allocations: 4 kB / 0.5784 GB, free: 4.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5982, allocations: 0 / 0.5784 GB, free: 4.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.5982, allocations: 0 / 0.5784 GB, free: 4.438 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.004643/0.6029, allocations: 1.284 MB / 0.5796 GB, free: 3.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.603, allocations: 16.94 kB / 0.5796 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.6032, allocations: 66.33 kB / 0.5797 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.6037, allocations: 336.5 kB / 0.58 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.6038, allocations: 19.84 kB / 0.5801 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.6038, allocations: 32.56 kB / 0.5801 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.6046, allocations: 384.8 kB / 0.5804 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.6047, allocations: 6.844 kB / 0.5805 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.6047, allocations: 14.78 kB / 0.5805 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6047, allocations: 10.03 kB / 0.5805 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.6053, allocations: 262.1 kB / 0.5807 GB, free: 2.738 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.00173/0.6071, allocations: 1.615 MB / 0.5823 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.6077, allocations: 200 kB / 0.5825 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.6079, allocations: 73.86 kB / 0.5826 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1342/0.7421, allocations: 64.27 MB / 0.6453 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.7422, allocations: 30.56 kB / 0.6454 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 2.514e-06/0.7422, allocations: 0 / 0.6454 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17): time 0.00157/0.7438, allocations: 458.9 kB / 0.6458 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7439, allocations: 67.27 kB / 0.6459 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.7444, allocations: 357.6 kB / 0.6462 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.7444, allocations: 33.7 kB / 0.6462 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.7445, allocations: 204 kB / 0.6464 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.7446, allocations: 67 kB / 0.6465 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.7448, allocations: 49.61 kB / 0.6465 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.7449, allocations: 346.8 kB / 0.6469 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.7451, allocations: 60.84 kB / 0.6469 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.7453, allocations: 114.6 kB / 0.647 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.7456, allocations: 181.6 kB / 0.6472 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7456, allocations: 7.938 kB / 0.6472 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006023/0.7462, allocations: 294.7 kB / 0.6475 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7462, allocations: 4 kB / 0.6475 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.7462, allocations: 4 kB / 0.6475 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.7466, allocations: 73.66 kB / 0.6476 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.7468, allocations: 52.78 kB / 0.6476 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.7489, allocations: 2 MB / 0.6496 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.7492, allocations: 27.72 kB / 0.6496 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.7492, allocations: 11.98 kB / 0.6496 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002737/0.7495, allocations: 172.1 kB / 0.6498 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001616/0.7497, allocations: 102 kB / 0.6499 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002943/0.75, allocations: 181.8 kB / 0.6501 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.75, allocations: 4 kB / 0.6501 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006254/0.7506, allocations: 294.7 kB / 0.6503 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.7507, allocations: 4 kB / 0.6503 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7507, allocations: 4 kB / 0.6503 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.751, allocations: 81.78 kB / 0.6504 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.7512, allocations: 47.91 kB / 0.6505 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.7529, allocations: 1.995 MB / 0.6524 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.7531, allocations: 19.88 kB / 0.6524 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.7531, allocations: 12 kB / 0.6524 GB, free: 3.355 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.0002292/0.7534, allocations: 192.3 kB / 0.6526 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.7534, allocations: 31.62 kB / 0.6527 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.7545, allocations: 0.8223 MB / 0.6535 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.7545, allocations: 15.97 kB / 0.6535 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7545, allocations: 0 / 0.6535 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7545, allocations: 4 kB / 0.6535 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.7551, allocations: 0.5501 MB / 0.654 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7552, allocations: 0 / 0.654 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.7554, allocations: 45.03 kB / 0.6541 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-05/0.7555, allocations: 28.78 kB / 0.6541 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.7555, allocations: 4 kB / 0.6541 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.7566, allocations: 1.386 MB / 0.6554 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7566, allocations: 4.031 kB / 0.6554 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.7577, allocations: 0.8029 MB / 0.6562 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.7579, allocations: 132.4 kB / 0.6564 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.758, allocations: 0 / 0.6564 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.7581, allocations: 11.98 kB / 0.6564 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.7582, allocations: 15.92 kB / 0.6564 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.7582, allocations: 8 kB / 0.6564 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002919/0.7585, allocations: 255.2 kB / 0.6566 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7585, allocations: 0 / 0.6566 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00458/0.7631, allocations: 1.343 MB / 0.6579 GB, free: 13.47 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.008774/0.7719, allocations: 1.415 MB / 0.6593 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.7733, allocations: 0.6104 MB / 0.6599 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7733, allocations: 0 / 0.6599 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.7737, allocations: 295.8 kB / 0.6602 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.7748, allocations: 181.2 kB / 0.6604 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.777, allocations: 1.141 MB / 0.6615 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.7774, allocations: 0.8363 MB / 0.6623 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003205/0.7778, allocations: 143.1 kB / 0.6624 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.7779, allocations: 31.44 kB / 0.6625 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.7779, allocations: 4 kB / 0.6625 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of Templates: time 0.06664/0.8445, allocations: 50.51 MB / 0.7118 GB, free: 6.141 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)