Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.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.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7397/0.7397, allocations: 150.8 MB / 166.1 MB, free: 15.12 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.799e-05, allocations: 4 kB / 204.8 MB, free: 9.691 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 31.98 MB / 236.8 MB, free: 5.535 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.TestStodolaTurbine1): time 1.437/1.591, allocations: 295.4 MB / 0.5197 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04963/1.641, allocations: 48.24 MB / 0.5668 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/1.641, allocations: 8 kB / 0.5668 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004379/1.641, allocations: 179 kB / 0.567 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/1.642, allocations: 234.2 kB / 0.5672 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02541/1.667, allocations: 9.881 MB / 0.5768 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/1.669, allocations: 0.9417 MB / 0.5778 GB, free: 344 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/1.669, allocations: 284.3 kB / 0.578 GB, free: 60 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/1.669, allocations: 338.3 kB / 0.5783 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/1.67, allocations: 302.3 kB / 0.5786 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/1.67, allocations: 24 kB / 0.5787 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03422/1.704, allocations: 23.92 MB / 0.602 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/1.704, allocations: 103.4 kB / 0.6021 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/1.705, allocations: 375.7 kB / 0.6025 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0217/1.726, allocations: 11.46 MB / 0.6137 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.726, allocations: 0 / 0.6137 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.726, allocations: 0 / 0.6137 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.726, allocations: 0 / 0.6137 GB, free: 11.5 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.006637/1.733, allocations: 2.152 MB / 0.6158 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.733, allocations: 8.031 kB / 0.6158 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/1.733, allocations: 78.97 kB / 0.6158 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/1.734, allocations: 365.5 kB / 0.6162 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.734, allocations: 108.6 kB / 0.6163 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/1.734, allocations: 52 kB / 0.6163 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/1.735, allocations: 0.7853 MB / 0.6171 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.735, allocations: 4 kB / 0.6171 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/1.735, allocations: 20 kB / 0.6171 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/1.735, allocations: 35.97 kB / 0.6172 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.736, allocations: 0.5864 MB / 0.6177 GB, free: 7.16 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.03574/1.772, allocations: 19.81 MB / 0.6371 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.773, allocations: 0.5393 MB / 0.6376 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/1.773, allocations: 342.7 kB / 0.6379 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3383/2.112, allocations: 110 MB / 0.7454 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/2.112, allocations: 34.5 kB / 0.7454 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=116): time 2.885e-06/2.112, allocations: 3.828 kB / 0.7454 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116): time 0.002915/2.115, allocations: 1.663 MB / 0.747 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/2.115, allocations: 59.06 kB / 0.7471 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/2.115, allocations: 418.6 kB / 0.7475 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/2.115, allocations: 31.83 kB / 0.7475 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/2.115, allocations: 255.7 kB / 0.7477 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/2.115, allocations: 377.2 kB / 0.7481 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/2.115, allocations: 91.7 kB / 0.7482 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/2.115, allocations: 376.5 kB / 0.7485 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/2.116, allocations: 272.1 kB / 0.7488 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/2.116, allocations: 403.3 kB / 0.7492 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/2.117, allocations: 0.7146 MB / 0.7499 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/2.117, allocations: 7.312 kB / 0.7499 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003224/2.121, allocations: 1.36 MB / 0.7512 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/2.121, allocations: 11.72 kB / 0.7512 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/2.121, allocations: 3.906 kB / 0.7512 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/2.122, allocations: 0.5898 MB / 0.7518 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/2.122, allocations: 46.52 kB / 0.7519 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/2.124, allocations: 2.183 MB / 0.754 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/2.124, allocations: 104 kB / 0.7541 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/2.124, allocations: 23.58 kB / 0.7541 GB, free: 180.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.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 (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(6,15), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/2.124, allocations: 186.7 kB / 0.7543 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/2.124, allocations: 74 kB / 0.7544 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/2.126, allocations: 1.732 MB / 0.7561 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00146/2.128, allocations: 1.011 MB / 0.757 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/2.128, allocations: 0 / 0.757 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/2.128, allocations: 3.984 kB / 0.757 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/2.131, allocations: 2.741 MB / 0.7597 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/2.131, allocations: 6.156 kB / 0.7597 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/2.132, allocations: 195.9 kB / 0.7599 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/2.132, allocations: 337.8 kB / 0.7602 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/2.132, allocations: 32.64 kB / 0.7603 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/2.135, allocations: 5.309 MB / 0.7655 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/2.135, allocations: 19.22 kB / 0.7655 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/2.137, allocations: 1.772 MB / 0.7672 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/2.137, allocations: 278.4 kB / 0.7675 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/2.137, allocations: 23.62 kB / 0.7675 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/2.137, allocations: 53.81 kB / 0.7675 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/2.138, allocations: 88.16 kB / 0.7676 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/2.138, allocations: 35.17 kB / 0.7677 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003904/2.138, allocations: 453.6 kB / 0.7681 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.138, allocations: 0 / 0.7681 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003914/2.142, allocations: 1.91 MB / 0.77 GB, free: 169.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Shaft1.delta) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006685/2.149, allocations: 2.61 MB / 0.7725 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001791/2.15, allocations: 1.177 MB / 0.7737 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.15, allocations: 0 / 0.7737 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/2.152, allocations: 0.7696 MB / 0.7744 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/2.154, allocations: 369.9 kB / 0.7748 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/2.156, allocations: 2.465 MB / 0.7772 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/2.157, allocations: 1.021 MB / 0.7782 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002978/2.157, allocations: 83.78 kB / 0.7782 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/2.157, allocations: 55.44 kB / 0.7783 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/2.157, allocations: 4 kB / 0.7783 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06823/2.225, allocations: 72.29 MB / 0.8489 GB, free: 90.72 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe 2>&1) Environment - environmentSimulation: