Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8265/0.8265, allocations: 150.9 MB / 166 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 15.98 kB / 204 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 31.33 MB / 235.3 MB, free: 5.445 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.TestStodolaTurbine2): time 1.543/1.677, allocations: 293.1 MB / 0.5161 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05386/1.731, allocations: 48.55 MB / 0.5635 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/1.731, allocations: 4 kB / 0.5635 GB, free: 12.95 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). Notification: Performance of NFTyping.typeComponents: time 0.0006236/1.732, allocations: 136.3 kB / 0.5636 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/1.733, allocations: 127.1 kB / 0.5637 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02523/1.758, allocations: 9.557 MB / 0.5731 GB, free: 3.137 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000709/1.759, allocations: 0.5055 MB / 0.5736 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/1.759, allocations: 139.7 kB / 0.5737 GB, free: 2.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/1.759, allocations: 187.1 kB / 0.5739 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/1.76, allocations: 163.1 kB / 0.574 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/1.76, allocations: 20 kB / 0.5741 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03619/1.796, allocations: 23.79 MB / 0.5973 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/1.796, allocations: 51.72 kB / 0.5973 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/1.796, allocations: 183 kB / 0.5975 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02364/1.82, allocations: 11.21 MB / 0.6085 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.82, allocations: 8 kB / 0.6085 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/1.82, allocations: 0 / 0.6085 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.82, allocations: 0 / 0.6085 GB, free: 14.84 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005154/1.825, allocations: 1.907 MB / 0.6103 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/1.825, allocations: 8.031 kB / 0.6103 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.453e-05/1.825, allocations: 43.44 kB / 0.6104 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/1.825, allocations: 253.6 kB / 0.6106 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/1.826, allocations: 87.83 kB / 0.6107 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/1.826, allocations: 24 kB / 0.6107 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/1.826, allocations: 448.4 kB / 0.6112 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.826, allocations: 0 / 0.6112 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/1.826, allocations: 8 kB / 0.6112 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/1.826, allocations: 19.98 kB / 0.6112 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/1.827, allocations: 310 kB / 0.6115 GB, free: 11.62 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.01899/1.846, allocations: 10.2 MB / 0.6214 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/1.846, allocations: 239 kB / 0.6217 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/1.847, allocations: 186 kB / 0.6218 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3501/2.197, allocations: 109.2 MB / 0.7284 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/2.197, allocations: 33.03 kB / 0.7285 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.565e-06/2.197, allocations: 0 / 0.7285 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.001913/2.199, allocations: 0.9254 MB / 0.7294 GB, free: 196.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/2.199, allocations: 55.41 kB / 0.7294 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/2.199, allocations: 243.4 kB / 0.7297 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/2.199, allocations: 28.77 kB / 0.7297 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/2.199, allocations: 160.4 kB / 0.7298 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/2.199, allocations: 213.2 kB / 0.7301 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/2.199, allocations: 67.61 kB / 0.7301 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/2.199, allocations: 347.6 kB / 0.7304 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/2.2, allocations: 139.9 kB / 0.7306 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/2.2, allocations: 220.2 kB / 0.7308 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/2.2, allocations: 399.9 kB / 0.7312 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/2.2, allocations: 0 / 0.7312 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009204/2.201, allocations: 0.5537 MB / 0.7317 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/2.201, allocations: 7.062 kB / 0.7317 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/2.201, allocations: 1.188 kB / 0.7317 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/2.202, allocations: 259.7 kB / 0.732 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/2.202, allocations: 21.73 kB / 0.732 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007161/2.203, allocations: 1.275 MB / 0.7332 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/2.203, allocations: 47.83 kB / 0.7333 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/2.203, allocations: 13.66 kB / 0.7333 GB, free: 194.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (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 (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001217/2.203, allocations: 146.4 kB / 0.7334 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/2.203, allocations: 34.98 kB / 0.7335 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/2.204, allocations: 1.059 MB / 0.7345 GB, free: 193.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007719/2.205, allocations: 0.5531 MB / 0.735 GB, free: 193.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.205, allocations: 3.938 kB / 0.735 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/2.205, allocations: 3.797 kB / 0.735 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/2.207, allocations: 1.696 MB / 0.7367 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/2.207, allocations: 4.844 kB / 0.7367 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/2.208, allocations: 80.81 kB / 0.7368 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004331/2.208, allocations: 268.1 kB / 0.737 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/2.208, allocations: 15.31 kB / 0.7371 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007094/2.209, allocations: 1.293 MB / 0.7383 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/2.209, allocations: 3.938 kB / 0.7383 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/2.21, allocations: 0.8533 MB / 0.7392 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/2.21, allocations: 135.9 kB / 0.7393 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/2.21, allocations: 25.56 kB / 0.7393 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/2.21, allocations: 27.11 kB / 0.7393 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/2.21, allocations: 48.7 kB / 0.7394 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/2.21, allocations: 15.84 kB / 0.7394 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002511/2.211, allocations: 310.5 kB / 0.7397 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/2.211, allocations: 0 / 0.7397 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004577/2.215, allocations: 1.812 MB / 0.7415 GB, free: 191.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007292/2.222, allocations: 2.612 MB / 0.744 GB, free: 191.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001072/2.224, allocations: 0.6035 MB / 0.7446 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.224, allocations: 0 / 0.7446 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/2.224, allocations: 289.6 kB / 0.7449 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/2.225, allocations: 245.5 kB / 0.7451 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/2.227, allocations: 1.385 MB / 0.7465 GB, free: 190 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/2.227, allocations: 0.862 MB / 0.7473 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002157/2.228, allocations: 43.77 kB / 0.7473 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/2.228, allocations: 46.36 kB / 0.7474 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.7e-07/2.228, allocations: 5.969 kB / 0.7474 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.06531/2.293, allocations: 66.9 MB / 0.8127 GB, free: 123.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe 2>&1)