Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8305/0.8305, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 11.98 kB / 204 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 31.32 MB / 235.3 MB, free: 5.465 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1): time 1.609/1.755, allocations: 294.5 MB / 0.5174 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05365/1.809, allocations: 48.97 MB / 0.5652 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/1.809, allocations: 4 kB / 0.5653 GB, free: 11.16 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:67:3-71:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/DynamicCentrifugalPump.mo:71:3-75:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/DynamicCentrifugalPump.mo:76:3-77:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/DynamicCentrifugalPump.mo:78:3-79:45:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/Machines/Shaft.mo:13:3-15:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/Machines/Shaft.mo:16:3-18:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005115/1.809, allocations: 184 kB / 0.5654 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/1.81, allocations: 234.2 kB / 0.5657 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02489/1.835, allocations: 9.671 MB / 0.5751 GB, free: 1.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/1.836, allocations: 0.9379 MB / 0.576 GB, free: 132 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/1.836, allocations: 309.8 kB / 0.5763 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/1.837, allocations: 358.3 kB / 0.5766 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/1.837, allocations: 322.4 kB / 0.577 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/1.837, allocations: 36 kB / 0.577 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03625/1.873, allocations: 23.82 MB / 0.6003 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/1.874, allocations: 115.5 kB / 0.6004 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/1.874, allocations: 358 kB / 0.6007 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02276/1.897, allocations: 11.58 MB / 0.612 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.897, allocations: 0 / 0.612 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.897, allocations: 0 / 0.612 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.897, allocations: 4 kB / 0.612 GB, free: 11.19 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005772/1.903, allocations: 2.25 MB / 0.6142 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.903, allocations: 12.03 kB / 0.6142 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/1.903, allocations: 78.97 kB / 0.6143 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/1.903, allocations: 361.5 kB / 0.6146 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/1.903, allocations: 108.6 kB / 0.6148 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/1.903, allocations: 54.94 kB / 0.6148 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.905, allocations: 0.7698 MB / 0.6156 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.905, allocations: 0 / 0.6156 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/1.905, allocations: 24 kB / 0.6156 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/1.905, allocations: 35.97 kB / 0.6156 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/1.906, allocations: 0.5669 MB / 0.6162 GB, free: 6.793 MB / 0.4981 GB 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.0365/1.942, allocations: 19.66 MB / 0.6354 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.943, allocations: 0.5158 MB / 0.6359 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/1.944, allocations: 334.7 kB / 0.6362 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3312/2.275, allocations: 109.2 MB / 0.7428 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/2.275, allocations: 34 kB / 0.7428 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=116): time 2.515e-06/2.275, allocations: 0 / 0.7428 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116): time 0.002931/2.278, allocations: 1.575 MB / 0.7444 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/2.278, allocations: 65.77 kB / 0.7444 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/2.278, allocations: 418 kB / 0.7448 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/2.279, allocations: 29.64 kB / 0.7449 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/2.279, allocations: 250.8 kB / 0.7451 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/2.279, allocations: 378.3 kB / 0.7455 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/2.279, allocations: 146.3 kB / 0.7456 GB, free: 181.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/2.279, allocations: 373.7 kB / 0.7459 GB, free: 181 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/2.279, allocations: 263.9 kB / 0.7462 GB, free: 181 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/2.28, allocations: 388 kB / 0.7466 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/2.281, allocations: 0.6929 MB / 0.7472 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.281, allocations: 0 / 0.7472 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00347/2.285, allocations: 1.255 MB / 0.7485 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/2.285, allocations: 7.906 kB / 0.7485 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/2.285, allocations: 6.156 kB / 0.7485 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/2.286, allocations: 0.5791 MB / 0.7491 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/2.286, allocations: 45.5 kB / 0.7491 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/2.288, allocations: 2.158 MB / 0.7512 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/2.288, allocations: 103.7 kB / 0.7513 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/2.289, allocations: 25.11 kB / 0.7513 GB, free: 178.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(6,15), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002173/2.289, allocations: 189.2 kB / 0.7515 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/2.289, allocations: 58.19 kB / 0.7516 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/2.291, allocations: 1.694 MB / 0.7532 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00154/2.292, allocations: 0.9721 MB / 0.7542 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/2.292, allocations: 7.922 kB / 0.7542 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/2.293, allocations: 7.984 kB / 0.7542 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/2.296, allocations: 2.697 MB / 0.7568 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/2.296, allocations: 7.875 kB / 0.7568 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/2.297, allocations: 186 kB / 0.757 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005756/2.297, allocations: 326.6 kB / 0.7573 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/2.297, allocations: 28.3 kB / 0.7573 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/2.3, allocations: 5.295 MB / 0.7625 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/2.3, allocations: 10.62 kB / 0.7625 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/2.302, allocations: 1.742 MB / 0.7642 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/2.302, allocations: 220 kB / 0.7644 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/2.303, allocations: 41.58 kB / 0.7645 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/2.303, allocations: 40.45 kB / 0.7645 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/2.303, allocations: 85.94 kB / 0.7646 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/2.303, allocations: 36.94 kB / 0.7646 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004093/2.304, allocations: 454.7 kB / 0.7651 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.304, allocations: 0 / 0.7651 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004093/2.308, allocations: 1.913 MB / 0.7669 GB, free: 168.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Shaft1.delta) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008067/2.316, allocations: 2.654 MB / 0.7695 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001979/2.318, allocations: 1.145 MB / 0.7706 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.318, allocations: 3.281 kB / 0.7706 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/2.319, allocations: 0.755 MB / 0.7714 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/2.321, allocations: 359.7 kB / 0.7717 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/2.324, allocations: 2.355 MB / 0.774 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/2.324, allocations: 1.018 MB / 0.775 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003764/2.324, allocations: 80.08 kB / 0.7751 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/2.325, allocations: 63.23 kB / 0.7752 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/2.325, allocations: 0 / 0.7752 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.07467/2.399, allocations: 73.09 MB / 0.8465 GB, free: 89.59 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe 2>&1)