Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7488/0.7488, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.602e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 31.98 MB / 236.8 MB, free: 5.438 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.TestStodolaTurbine3): time 1.444/1.584, allocations: 295.4 MB / 0.5197 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05037/1.635, allocations: 48.18 MB / 0.5668 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/1.635, allocations: 4 kB / 0.5668 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/1.636, allocations: 183 kB / 0.5669 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006037/1.636, allocations: 262.1 kB / 0.5672 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02469/1.661, allocations: 9.84 MB / 0.5768 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/1.662, allocations: 1.008 MB / 0.5778 GB, free: 292 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/1.662, allocations: 269.2 kB / 0.578 GB, free: 20 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/1.663, allocations: 346.3 kB / 0.5784 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/1.663, allocations: 302.4 kB / 0.5787 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/1.663, allocations: 24 kB / 0.5787 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03428/1.697, allocations: 23.92 MB / 0.602 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/1.698, allocations: 95.42 kB / 0.6021 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/1.698, allocations: 387.7 kB / 0.6025 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/1.72, allocations: 11.46 MB / 0.6137 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.72, allocations: 0 / 0.6137 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.72, allocations: 4 kB / 0.6137 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.187e-05/1.72, allocations: 0 / 0.6137 GB, free: 11.44 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.006137/1.727, allocations: 2.179 MB / 0.6158 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.727, allocations: 8.031 kB / 0.6158 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/1.727, allocations: 86.86 kB / 0.6159 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/1.727, allocations: 336.8 kB / 0.6162 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/1.727, allocations: 175.7 kB / 0.6164 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/1.727, allocations: 48 kB / 0.6164 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.729, allocations: 0.8577 MB / 0.6173 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.729, allocations: 3.938 kB / 0.6173 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/1.729, allocations: 23.98 kB / 0.6173 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/1.729, allocations: 39.97 kB / 0.6173 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/1.73, allocations: 0.6446 MB / 0.618 GB, free: 6.871 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.03864/1.769, allocations: 20.39 MB / 0.6379 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/1.769, allocations: 0.5099 MB / 0.6384 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/1.77, allocations: 379.8 kB / 0.6387 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3309/2.101, allocations: 110 MB / 0.7462 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/2.101, allocations: 41.23 kB / 0.7462 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=132): time 2.114e-06/2.101, allocations: 4 kB / 0.7462 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.003378/2.104, allocations: 1.983 MB / 0.7481 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/2.104, allocations: 84.7 kB / 0.7482 GB, free: 185 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/2.105, allocations: 400.9 kB / 0.7486 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/2.105, allocations: 33.11 kB / 0.7486 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/2.105, allocations: 246 kB / 0.7489 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/2.105, allocations: 416.9 kB / 0.7493 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/2.105, allocations: 87.81 kB / 0.7494 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/2.105, allocations: 378.7 kB / 0.7497 GB, free: 184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/2.106, allocations: 294.2 kB / 0.75 GB, free: 184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/2.106, allocations: 456.2 kB / 0.7504 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009952/2.107, allocations: 0.8229 MB / 0.7512 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/2.107, allocations: 0 / 0.7512 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001713/2.109, allocations: 1.139 MB / 0.7523 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/2.109, allocations: 12.39 kB / 0.7524 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/2.109, allocations: 7.875 kB / 0.7524 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000903/2.11, allocations: 0.5205 MB / 0.7529 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/2.11, allocations: 55.25 kB / 0.7529 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/2.111, allocations: 2.555 MB / 0.7554 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/2.112, allocations: 124.5 kB / 0.7555 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/2.112, allocations: 22.08 kB / 0.7556 GB, free: 180.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,stodolaTurbine1.Cs.b,stodolaTurbine1.Ce.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 (34): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001857/2.112, allocations: 196.4 kB / 0.7557 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/2.112, allocations: 58.75 kB / 0.7558 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/2.114, allocations: 2.159 MB / 0.7579 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001503/2.116, allocations: 1.129 MB / 0.759 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/2.116, allocations: 7.938 kB / 0.759 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/2.116, allocations: 3.984 kB / 0.759 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/2.12, allocations: 3.464 MB / 0.7624 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/2.12, allocations: 8 kB / 0.7624 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/2.12, allocations: 167.5 kB / 0.7626 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008056/2.121, allocations: 0.5399 MB / 0.7631 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/2.121, allocations: 27.75 kB / 0.7631 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/2.122, allocations: 2.607 MB / 0.7657 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/2.122, allocations: 15.94 kB / 0.7657 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/2.124, allocations: 1.733 MB / 0.7674 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/2.124, allocations: 258.1 kB / 0.7676 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/2.124, allocations: 31.61 kB / 0.7677 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/2.125, allocations: 63.47 kB / 0.7677 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/2.125, allocations: 95.16 kB / 0.7678 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/2.125, allocations: 36.44 kB / 0.7678 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004373/2.125, allocations: 0.5348 MB / 0.7684 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/2.125, allocations: 0 / 0.7684 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003707/2.129, allocations: 1.916 MB / 0.7702 GB, free: 169.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006825/2.136, allocations: 2.618 MB / 0.7728 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001599/2.138, allocations: 1.307 MB / 0.7741 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/2.138, allocations: 4 kB / 0.7741 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008728/2.139, allocations: 0.5974 MB / 0.7747 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/2.141, allocations: 479.4 kB / 0.7751 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/2.145, allocations: 2.788 MB / 0.7778 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/2.145, allocations: 1.054 MB / 0.7789 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003677/2.145, allocations: 99.75 kB / 0.779 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/2.145, allocations: 61.97 kB / 0.779 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/2.145, allocations: 0 / 0.779 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.06994/2.215, allocations: 74.36 MB / 0.8516 GB, free: 88.53 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe 2>&1) Environment - environmentSimulation: