Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.739/0.739, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.535e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 31.97 MB / 236.8 MB, free: 5.43 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.TestStodolaTurbine): time 1.423/1.561, allocations: 296 MB / 0.5203 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05079/1.612, allocations: 48.81 MB / 0.5679 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/1.612, allocations: 4 kB / 0.5679 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/1.613, allocations: 202.9 kB / 0.5681 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007051/1.614, allocations: 277.9 kB / 0.5684 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02443/1.638, allocations: 10.09 MB / 0.5782 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/1.639, allocations: 1.196 MB / 0.5794 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005125/1.64, allocations: 396.7 kB / 0.5798 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/1.641, allocations: 434 kB / 0.5802 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/1.641, allocations: 434 kB / 0.5806 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/1.641, allocations: 36 kB / 0.5806 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03638/1.678, allocations: 23.95 MB / 0.604 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/1.678, allocations: 151.3 kB / 0.6042 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005818/1.678, allocations: 463.2 kB / 0.6046 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02386/1.702, allocations: 11.69 MB / 0.616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.702, allocations: 3.938 kB / 0.616 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.702, allocations: 0 / 0.616 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.551e-05/1.702, allocations: 4 kB / 0.616 GB, free: 9.02 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.007165/1.71, allocations: 2.518 MB / 0.6185 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.71, allocations: 20.02 kB / 0.6185 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/1.71, allocations: 94.78 kB / 0.6186 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/1.71, allocations: 432.1 kB / 0.619 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/1.711, allocations: 158.3 kB / 0.6192 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.711, allocations: 64 kB / 0.6192 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/1.713, allocations: 1.082 MB / 0.6203 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/1.713, allocations: 11.92 kB / 0.6203 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/1.713, allocations: 24 kB / 0.6203 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/1.713, allocations: 35.97 kB / 0.6204 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/1.715, allocations: 1.017 MB / 0.6214 GB, free: 3.41 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.02212/1.737, allocations: 13.16 MB / 0.6342 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/1.74, allocations: 1.061 MB / 0.6352 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/1.741, allocations: 0.5311 MB / 0.6358 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.337/2.078, allocations: 110 MB / 0.7432 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/2.078, allocations: 39.22 kB / 0.7432 GB, free: 189 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 2.565e-06/2.078, allocations: 4 kB / 0.7432 GB, free: 189 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.007709/2.086, allocations: 2.933 MB / 0.7461 GB, free: 188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/2.086, allocations: 59.59 kB / 0.7461 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/2.087, allocations: 473 kB / 0.7466 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/2.087, allocations: 37.33 kB / 0.7466 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/2.087, allocations: 318.7 kB / 0.7469 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/2.087, allocations: 455.4 kB / 0.7474 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/2.087, allocations: 103.3 kB / 0.7475 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/2.087, allocations: 391 kB / 0.7478 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009956/2.088, allocations: 450.7 kB / 0.7483 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/2.089, allocations: 0.6431 MB / 0.7489 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/2.091, allocations: 1.146 MB / 0.75 GB, free: 186.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.092, allocations: 0 / 0.75 GB, free: 186.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003444/2.095, allocations: 1.659 MB / 0.7516 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/2.095, allocations: 12.91 kB / 0.7517 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/2.095, allocations: 5.281 kB / 0.7517 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/2.099, allocations: 1.193 MB / 0.7528 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/2.099, allocations: 185.3 kB / 0.753 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/2.102, allocations: 2.997 MB / 0.7559 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/2.102, allocations: 166 kB / 0.7561 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/2.102, allocations: 39.17 kB / 0.7561 GB, free: 182.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 14 (VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(9,21), (1,1), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/2.103, allocations: 224.4 kB / 0.7563 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/2.103, allocations: 78.97 kB / 0.7564 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/2.106, allocations: 2.703 MB / 0.759 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002914/2.109, allocations: 1.684 MB / 0.7607 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/2.109, allocations: 0.625 kB / 0.7607 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/2.109, allocations: 7.984 kB / 0.7607 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/2.115, allocations: 3.765 MB / 0.7644 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/2.115, allocations: 4 kB / 0.7644 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/2.116, allocations: 300.1 kB / 0.7647 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/2.118, allocations: 0.8683 MB / 0.7655 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/2.118, allocations: 39.05 kB / 0.7656 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/2.12, allocations: 2.878 MB / 0.7684 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/2.12, allocations: 4.562 kB / 0.7684 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/2.124, allocations: 2.677 MB / 0.771 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/2.124, allocations: 315.1 kB / 0.7713 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/2.125, allocations: 28 kB / 0.7713 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/2.125, allocations: 107.8 kB / 0.7714 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/2.125, allocations: 105.3 kB / 0.7715 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/2.125, allocations: 43.98 kB / 0.7716 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003886/2.126, allocations: 447.1 kB / 0.772 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.126, allocations: 0 / 0.772 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003949/2.13, allocations: 1.971 MB / 0.7739 GB, free: 167.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Bache1.z,Bache1.h) * 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 (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(5,16), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007171/2.137, allocations: 2.619 MB / 0.7765 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003343/2.14, allocations: 1.736 MB / 0.7782 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/2.14, allocations: 4.188 kB / 0.7782 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/2.142, allocations: 0.9238 MB / 0.7791 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/2.145, allocations: 428.6 kB / 0.7795 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/2.148, allocations: 3.186 MB / 0.7826 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/2.149, allocations: 1.097 MB / 0.7837 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004613/2.149, allocations: 109.2 kB / 0.7838 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/2.149, allocations: 79.41 kB / 0.7838 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/2.149, allocations: 0 / 0.7838 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.0753/2.225, allocations: 77.08 MB / 0.8591 GB, free: 81.27 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe 2>&1) Environment - environmentSimulation: