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.7787/0.7787, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.39e-05, allocations: 3.984 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 31.98 MB / 236.8 MB, free: 5.414 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.527/1.674, allocations: 294.9 MB / 0.5193 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05018/1.724, allocations: 47.8 MB / 0.566 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/1.724, allocations: 4 kB / 0.566 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/1.725, allocations: 135.3 kB / 0.5661 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/1.725, allocations: 131.1 kB / 0.5662 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02881/1.754, allocations: 9.767 MB / 0.5758 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006835/1.755, allocations: 0.5016 MB / 0.5763 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/1.755, allocations: 139.3 kB / 0.5764 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/1.755, allocations: 175.1 kB / 0.5766 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/1.755, allocations: 159.1 kB / 0.5767 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/1.755, allocations: 12 kB / 0.5767 GB, free: 2.199 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03685/1.792, allocations: 23.9 MB / 0.6001 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/1.792, allocations: 47.72 kB / 0.6001 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/1.793, allocations: 200.7 kB / 0.6003 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02427/1.817, allocations: 11.09 MB / 0.6111 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.817, allocations: 3.938 kB / 0.6112 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.817, allocations: 0 / 0.6112 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.817, allocations: 0 / 0.6112 GB, free: 14.89 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.005359/1.822, allocations: 1.868 MB / 0.613 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.822, allocations: 8.031 kB / 0.613 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.644e-05/1.822, allocations: 74.53 kB / 0.6131 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/1.822, allocations: 43.47 kB / 0.6131 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.823, allocations: 258.3 kB / 0.6133 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.823, allocations: 87.89 kB / 0.6134 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/1.823, allocations: 24 kB / 0.6134 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/1.823, allocations: 452.4 kB / 0.6139 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.823, allocations: 0 / 0.6139 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/1.824, allocations: 16 kB / 0.6139 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/1.824, allocations: 23.97 kB / 0.6139 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/1.824, allocations: 330 kB / 0.6142 GB, free: 11.59 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.01949/1.844, allocations: 10.26 MB / 0.6242 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/1.844, allocations: 259.1 kB / 0.6245 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/1.844, allocations: 190 kB / 0.6247 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3612/2.206, allocations: 110 MB / 0.7321 GB, free: 198 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/2.206, allocations: 33.06 kB / 0.7321 GB, free: 198 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.044e-06/2.206, allocations: 0 / 0.7321 GB, free: 198 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002065/2.208, allocations: 1.012 MB / 0.7331 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/2.208, allocations: 52.16 kB / 0.7332 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/2.208, allocations: 245.7 kB / 0.7334 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/2.208, allocations: 27.45 kB / 0.7334 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/2.208, allocations: 159.8 kB / 0.7336 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/2.208, allocations: 212.4 kB / 0.7338 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/2.208, allocations: 51.45 kB / 0.7338 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/2.208, allocations: 343.5 kB / 0.7342 GB, free: 197 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/2.209, allocations: 151.4 kB / 0.7343 GB, free: 197 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/2.209, allocations: 225.4 kB / 0.7345 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/2.21, allocations: 422.2 kB / 0.7349 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.21, allocations: 2 kB / 0.7349 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009534/2.211, allocations: 0.5953 MB / 0.7355 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/2.211, allocations: 3.812 kB / 0.7355 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/2.211, allocations: 3.812 kB / 0.7355 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/2.211, allocations: 264.5 kB / 0.7358 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/2.211, allocations: 27.11 kB / 0.7358 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/2.212, allocations: 1.281 MB / 0.737 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/2.212, allocations: 60.92 kB / 0.7371 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/2.212, allocations: 15.38 kB / 0.7371 GB, free: 195.6 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.0001244/2.212, allocations: 144.4 kB / 0.7372 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/2.212, allocations: 35 kB / 0.7373 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/2.214, allocations: 1.092 MB / 0.7383 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007832/2.215, allocations: 0.5802 MB / 0.7389 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/2.215, allocations: 3.969 kB / 0.7389 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/2.215, allocations: 0 / 0.7389 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/2.217, allocations: 1.741 MB / 0.7406 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/2.217, allocations: 7.234 kB / 0.7406 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/2.217, allocations: 80.09 kB / 0.7407 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/2.217, allocations: 277.6 kB / 0.741 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/2.217, allocations: 15.38 kB / 0.741 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006733/2.218, allocations: 1.308 MB / 0.7423 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.218, allocations: 7.5 kB / 0.7423 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/2.219, allocations: 0.8899 MB / 0.7431 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/2.219, allocations: 166.1 kB / 0.7433 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/2.219, allocations: 24.98 kB / 0.7433 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/2.22, allocations: 31.81 kB / 0.7433 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/2.22, allocations: 46.2 kB / 0.7434 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/2.22, allocations: 19.5 kB / 0.7434 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002542/2.22, allocations: 307.4 kB / 0.7437 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/2.22, allocations: 0 / 0.7437 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003943/2.224, allocations: 1.812 MB / 0.7455 GB, free: 192.8 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.008721/2.233, allocations: 3.909 MB / 0.7493 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009456/2.234, allocations: 0.643 MB / 0.7499 GB, free: 191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/2.234, allocations: 0 / 0.7499 GB, free: 191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/2.234, allocations: 291.2 kB / 0.7502 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/2.236, allocations: 246.8 kB / 0.7504 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/2.243, allocations: 5.543 MB / 0.7558 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/2.243, allocations: 0.8596 MB / 0.7567 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002096/2.243, allocations: 50.23 kB / 0.7567 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/2.244, allocations: 181.1 kB / 0.7569 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/2.244, allocations: 0 / 0.7569 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08372/2.327, allocations: 73.55 MB / 0.8287 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/2.327, allocations: 257.6 kB / 0.829 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.638/7.965, allocations: 2.625 kB / 0.829 GB, free: 111.9 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)