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.7354/0.7354, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1523, allocations: 31.98 MB / 236.8 MB, free: 5.422 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.SimpleExamples.TestStodolaTurbine2): time 1.463/1.615, allocations: 294 MB / 0.5184 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0489/1.664, allocations: 47.82 MB / 0.5651 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/1.665, allocations: 4 kB / 0.5651 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/1.665, allocations: 143.3 kB / 0.5652 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/1.665, allocations: 123.1 kB / 0.5653 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02469/1.69, allocations: 9.766 MB / 0.5749 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006156/1.691, allocations: 0.5055 MB / 0.5754 GB, free: 2.496 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/1.691, allocations: 131.4 kB / 0.5755 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/1.691, allocations: 179.1 kB / 0.5756 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/1.691, allocations: 155.1 kB / 0.5758 GB, free: 2.043 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/1.692, allocations: 12 kB / 0.5758 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0392/1.731, allocations: 23.89 MB / 0.5991 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/1.731, allocations: 55.7 kB / 0.5992 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/1.731, allocations: 204.7 kB / 0.5994 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/1.752, allocations: 11.08 MB / 0.6102 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.752, allocations: 4 kB / 0.6102 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.752, allocations: 4 kB / 0.6102 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.817e-06/1.752, allocations: 0 / 0.6102 GB, free: 14.73 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.004692/1.756, allocations: 1.864 MB / 0.612 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.756, allocations: 12.03 kB / 0.612 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/1.756, allocations: 39.47 kB / 0.6121 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/1.757, allocations: 251.9 kB / 0.6123 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.757, allocations: 91.89 kB / 0.6124 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/1.757, allocations: 20 kB / 0.6124 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/1.758, allocations: 464.3 kB / 0.6129 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.758, allocations: 0 / 0.6129 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.758, allocations: 8 kB / 0.6129 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/1.758, allocations: 23.97 kB / 0.6129 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005399/1.758, allocations: 330 kB / 0.6132 GB, free: 11.52 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.01877/1.777, allocations: 10.26 MB / 0.6232 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/1.777, allocations: 263 kB / 0.6235 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/1.778, allocations: 193.9 kB / 0.6237 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3422/2.12, allocations: 110 MB / 0.7311 GB, free: 198.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/2.12, allocations: 31.97 kB / 0.7311 GB, free: 198.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/2.12, allocations: 0 / 0.7311 GB, free: 198.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.00197/2.122, allocations: 1.005 MB / 0.7321 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/2.122, allocations: 56.03 kB / 0.7322 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/2.122, allocations: 249.3 kB / 0.7324 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/2.122, allocations: 25.7 kB / 0.7324 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/2.122, allocations: 155.8 kB / 0.7326 GB, free: 198 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/2.122, allocations: 214.4 kB / 0.7328 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/2.122, allocations: 45.7 kB / 0.7328 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/2.123, allocations: 345.4 kB / 0.7331 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/2.123, allocations: 155.3 kB / 0.7333 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/2.123, allocations: 232.5 kB / 0.7335 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/2.124, allocations: 420.3 kB / 0.7339 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.124, allocations: 0 / 0.7339 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009132/2.125, allocations: 0.5779 MB / 0.7345 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/2.125, allocations: 8.938 kB / 0.7345 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/2.125, allocations: 3.812 kB / 0.7345 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/2.125, allocations: 265.1 kB / 0.7347 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/2.125, allocations: 31.02 kB / 0.7348 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006866/2.126, allocations: 1.282 MB / 0.736 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/2.126, allocations: 61.66 kB / 0.7361 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/2.126, allocations: 7.531 kB / 0.7361 GB, free: 196.2 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.0001177/2.126, allocations: 150.9 kB / 0.7362 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/2.126, allocations: 35.38 kB / 0.7363 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/2.128, allocations: 1.1 MB / 0.7373 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008072/2.128, allocations: 0.5818 MB / 0.7379 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.128, allocations: 3.562 kB / 0.7379 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.128, allocations: 3.938 kB / 0.7379 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/2.13, allocations: 1.736 MB / 0.7396 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/2.131, allocations: 4.5 kB / 0.7396 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/2.131, allocations: 81.69 kB / 0.7397 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/2.131, allocations: 280.5 kB / 0.74 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/2.131, allocations: 14.72 kB / 0.74 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006733/2.132, allocations: 1.306 MB / 0.7413 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.132, allocations: 4.094 kB / 0.7413 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/2.133, allocations: 0.8945 MB / 0.7421 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/2.133, allocations: 164 kB / 0.7423 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/2.133, allocations: 18.45 kB / 0.7423 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/2.133, allocations: 42.3 kB / 0.7423 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/2.133, allocations: 43.89 kB / 0.7424 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/2.133, allocations: 15.08 kB / 0.7424 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000256/2.134, allocations: 312.9 kB / 0.7427 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.134, allocations: 0 / 0.7427 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003711/2.137, allocations: 1.812 MB / 0.7445 GB, free: 193.4 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.007403/2.145, allocations: 2.583 MB / 0.747 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001002/2.146, allocations: 0.6287 MB / 0.7476 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.146, allocations: 0 / 0.7476 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004724/2.146, allocations: 297.4 kB / 0.7479 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/2.148, allocations: 254 kB / 0.7481 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/2.15, allocations: 1.484 MB / 0.7496 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/2.15, allocations: 0.8558 MB / 0.7504 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002/2.15, allocations: 53.91 kB / 0.7505 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/2.15, allocations: 35.44 kB / 0.7505 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/2.15, allocations: 0 / 0.7505 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06367/2.214, allocations: 66.15 MB / 0.8151 GB, free: 124.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: