Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.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: "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7882/0.7882, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 15.97 kB / 204.1 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 31.34 MB / 235.4 MB, free: 5.453 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.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.494/1.635, allocations: 294 MB / 0.517 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05084/1.686, allocations: 48.54 MB / 0.5644 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/1.686, allocations: 4 kB / 0.5644 GB, free: 12.89 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.0005675/1.686, allocations: 140 kB / 0.5646 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/1.687, allocations: 127.1 kB / 0.5647 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02551/1.712, allocations: 9.559 MB / 0.574 GB, free: 3.074 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/1.713, allocations: 0.5133 MB / 0.5745 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/1.713, allocations: 137.8 kB / 0.5746 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/1.713, allocations: 183.1 kB / 0.5748 GB, free: 2.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/1.714, allocations: 163.1 kB / 0.575 GB, free: 2.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/1.714, allocations: 16 kB / 0.575 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03436/1.748, allocations: 23.78 MB / 0.5982 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/1.748, allocations: 55.7 kB / 0.5983 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/1.748, allocations: 194.9 kB / 0.5985 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/1.771, allocations: 11.2 MB / 0.6094 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.771, allocations: 4 kB / 0.6094 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/1.771, allocations: 0 / 0.6094 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.771, allocations: 0 / 0.6094 GB, free: 14.78 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.005169/1.776, allocations: 1.911 MB / 0.6113 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.776, allocations: 12.03 kB / 0.6113 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.587e-05/1.776, allocations: 78.45 kB / 0.6114 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/1.776, allocations: 39.44 kB / 0.6114 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/1.776, allocations: 262.3 kB / 0.6116 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.776, allocations: 87.89 kB / 0.6117 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/1.776, allocations: 24 kB / 0.6117 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/1.777, allocations: 444.3 kB / 0.6122 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.777, allocations: 4 kB / 0.6122 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.777, allocations: 8 kB / 0.6122 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/1.777, allocations: 19.98 kB / 0.6122 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/1.778, allocations: 310 kB / 0.6125 GB, free: 11.46 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.01809/1.796, allocations: 10.17 MB / 0.6224 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/1.796, allocations: 248.2 kB / 0.6227 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/1.796, allocations: 181.9 kB / 0.6228 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3212/2.118, allocations: 109.2 MB / 0.7294 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/2.118, allocations: 37.06 kB / 0.7295 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 1.923e-06/2.118, allocations: 0 / 0.7295 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.001734/2.119, allocations: 0.9339 MB / 0.7304 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/2.119, allocations: 53.59 kB / 0.7304 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/2.12, allocations: 240.1 kB / 0.7307 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/2.12, allocations: 30.89 kB / 0.7307 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/2.12, allocations: 156.2 kB / 0.7308 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/2.12, allocations: 213.7 kB / 0.731 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/2.12, allocations: 65.52 kB / 0.7311 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/2.12, allocations: 354.2 kB / 0.7314 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/2.12, allocations: 134.9 kB / 0.7316 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/2.12, allocations: 221.5 kB / 0.7318 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/2.121, allocations: 399 kB / 0.7322 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/2.121, allocations: 2.625 kB / 0.7322 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008543/2.122, allocations: 0.5507 MB / 0.7327 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/2.122, allocations: 5.781 kB / 0.7327 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/2.122, allocations: 2.656 kB / 0.7327 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/2.122, allocations: 256.5 kB / 0.733 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/2.123, allocations: 25.55 kB / 0.733 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006681/2.123, allocations: 1.263 MB / 0.7342 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/2.123, allocations: 56.55 kB / 0.7343 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/2.123, allocations: 11.59 kB / 0.7343 GB, free: 193.4 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.0001098/2.124, allocations: 152.9 kB / 0.7344 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/2.124, allocations: 35.8 kB / 0.7345 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/2.125, allocations: 1.058 MB / 0.7355 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007253/2.125, allocations: 0.5524 MB / 0.736 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/2.125, allocations: 9.797 kB / 0.736 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/2.126, allocations: 7.734 kB / 0.7361 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/2.127, allocations: 1.681 MB / 0.7377 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/2.127, allocations: 9.609 kB / 0.7377 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/2.128, allocations: 82.44 kB / 0.7378 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/2.128, allocations: 264 kB / 0.738 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/2.128, allocations: 19.61 kB / 0.7381 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006295/2.129, allocations: 1.291 MB / 0.7393 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/2.129, allocations: 6.906 kB / 0.7393 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/2.13, allocations: 0.8488 MB / 0.7402 GB, free: 191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/2.13, allocations: 130.6 kB / 0.7403 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/2.13, allocations: 33.31 kB / 0.7403 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/2.13, allocations: 26.67 kB / 0.7403 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/2.13, allocations: 49.81 kB / 0.7404 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/2.13, allocations: 15.88 kB / 0.7404 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000238/2.13, allocations: 308.3 kB / 0.7407 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.13, allocations: 0 / 0.7407 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003628/2.134, allocations: 1.816 MB / 0.7425 GB, free: 190.7 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.007684/2.142, allocations: 3.903 MB / 0.7463 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009458/2.143, allocations: 0.6099 MB / 0.7469 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/2.143, allocations: 4 kB / 0.7469 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/2.143, allocations: 280.4 kB / 0.7471 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/2.144, allocations: 238.4 kB / 0.7474 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/2.151, allocations: 5.392 MB / 0.7526 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/2.151, allocations: 0.8597 MB / 0.7535 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002159/2.151, allocations: 50.38 kB / 0.7535 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/2.151, allocations: 184.8 kB / 0.7537 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/2.151, allocations: 0 / 0.7537 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/2.233, allocations: 74.83 MB / 0.8268 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/2.233, allocations: 261 kB / 0.827 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.549/7.782, allocations: 4 kB / 0.827 GB, free: 110.1 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe 2>&1)