Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7963/0.7963, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 15.98 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1694, allocations: 31.33 MB / 236 MB, free: 3.918 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1): time 1.813/1.982, allocations: 294.3 MB / 0.5179 GB, free: 7.645 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4734/2.456, allocations: 200.2 MB / 0.7134 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/2.456, allocations: 19.5 kB / 0.7134 GB, free: 0.9297 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:65:3-66:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:67:3-68:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:72:3-76:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/Machines/Shaft.mo:13:3-15:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/Machines/Shaft.mo:16:3-18:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006462/2.457, allocations: 182.2 kB / 0.7136 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008182/2.458, allocations: 313.7 kB / 0.7139 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03431/2.492, allocations: 11.26 MB / 0.7249 GB, free: 14.55 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001869/2.494, allocations: 1.207 MB / 0.7261 GB, free: 14.19 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008953/2.495, allocations: 0.5267 MB / 0.7266 GB, free: 13.97 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/2.496, allocations: 0.4905 MB / 0.727 GB, free: 13.88 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008391/2.497, allocations: 0.4951 MB / 0.7275 GB, free: 13.79 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/2.497, allocations: 62.09 kB / 0.7276 GB, free: 13.79 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04414/2.541, allocations: 26.06 MB / 0.753 GB, free: 6.051 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004792/2.542, allocations: 298.9 kB / 0.7533 GB, free: 5.988 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/2.543, allocations: 0.5999 MB / 0.7539 GB, free: 5.953 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.03515/2.578, allocations: 13.49 MB / 0.7671 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/2.578, allocations: 0 / 0.7671 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.362e-06/2.578, allocations: 0 / 0.7671 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.238e-05/2.578, allocations: 0 / 0.7671 GB, free: 13.95 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.008554/2.587, allocations: 3.148 MB / 0.7702 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/2.587, allocations: 8.031 kB / 0.7702 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/2.587, allocations: 165.9 kB / 0.7703 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/2.588, allocations: 0.6552 MB / 0.771 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/2.588, allocations: 129.4 kB / 0.7711 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/2.588, allocations: 84 kB / 0.7712 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/2.59, allocations: 1.005 MB / 0.7721 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/2.59, allocations: 3.938 kB / 0.7722 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/2.59, allocations: 36 kB / 0.7722 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/2.59, allocations: 35.98 kB / 0.7722 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/2.592, allocations: 0.7924 MB / 0.773 GB, free: 7.742 MB / 0.5886 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.1594/2.751, allocations: 65.94 MB / 0.8374 GB, free: 112 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/2.753, allocations: 0.7139 MB / 0.8381 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/2.754, allocations: 278 kB / 0.8384 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6079/3.362, allocations: 158.1 MB / 0.9928 GB, free: 205.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/3.362, allocations: 38.22 kB / 0.9928 GB, free: 205.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/3.362, allocations: 0 / 0.9928 GB, free: 205.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.007732/3.37, allocations: 2.279 MB / 0.995 GB, free: 205.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/3.37, allocations: 56.94 kB / 0.9951 GB, free: 205.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/3.371, allocations: 1.123 MB / 0.9962 GB, free: 205.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/3.371, allocations: 35.12 kB / 0.9962 GB, free: 205.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/3.371, allocations: 0.6289 MB / 0.9968 GB, free: 205 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/3.371, allocations: 267.1 kB / 0.9971 GB, free: 204.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/3.372, allocations: 179 kB / 0.9973 GB, free: 204.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/3.372, allocations: 349.6 kB / 0.9976 GB, free: 204.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/3.372, allocations: 290.9 kB / 0.9979 GB, free: 204.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/3.373, allocations: 0.5146 MB / 0.9984 GB, free: 204.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/3.374, allocations: 0.8344 MB / 0.9992 GB, free: 203.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/3.374, allocations: 3.719 kB / 0.9992 GB, free: 203.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003393/3.378, allocations: 1.382 MB / 1.001 GB, free: 203.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/3.378, allocations: 7.531 kB / 1.001 GB, free: 203.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/3.378, allocations: 7.719 kB / 1.001 GB, free: 203.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007748/3.386, allocations: 1.336 MB / 1.002 GB, free: 203.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/3.386, allocations: 116.5 kB / 1.002 GB, free: 203.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/3.389, allocations: 2.822 MB / 1.005 GB, free: 201.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/3.39, allocations: 125 kB / 1.005 GB, free: 201.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/3.39, allocations: 38.67 kB / 1.005 GB, free: 201.5 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.fluid1,sourceP1.C.ftype,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,DynamicCentrifugalPump1.fluid,puitsP1.fluid,sourceP.fluid1,DynamicCentrifugalPump1.C2.diff_on_1,sourceP1.C.diff_on_2,stodolaTurbine.Cs.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 60 * 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 {(3,21), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005402/3.39, allocations: 321.8 kB / 1.005 GB, free: 201.4 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/3.39, allocations: 125.3 kB / 1.005 GB, free: 201.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/3.393, allocations: 1.414 MB / 1.007 GB, free: 201.2 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002008/3.395, allocations: 1.039 MB / 1.008 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/3.395, allocations: 4 kB / 1.008 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/3.395, allocations: 3.844 kB / 1.008 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/3.399, allocations: 2.475 MB / 1.01 GB, free: 200.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/3.399, allocations: 0 / 1.01 GB, free: 200.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/3.4, allocations: 71.28 kB / 1.01 GB, free: 200.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005454/3.405, allocations: 1.19 MB / 1.011 GB, free: 200.6 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/3.405, allocations: 20.97 kB / 1.011 GB, free: 200.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/3.407, allocations: 2.846 MB / 1.014 GB, free: 198.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.407, allocations: 0 / 1.014 GB, free: 198.4 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07711/3.485, allocations: 27.59 MB / 1.041 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/3.485, allocations: 252.8 kB / 1.041 GB, free: 186.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/3.485, allocations: 14.25 kB / 1.041 GB, free: 186.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/3.485, allocations: 38.03 kB / 1.041 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/3.486, allocations: 48.27 kB / 1.041 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/3.486, allocations: 26.88 kB / 1.041 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0007819/3.486, allocations: 0.7614 MB / 1.042 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/3.486, allocations: 0 / 1.042 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009431/3.496, allocations: 4.26 MB / 1.046 GB, free: 182 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (44): * Single equations (assignments): 39 * 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 {(3,24), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01733/3.513, allocations: 5.122 MB / 1.051 GB, free: 178 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002151/3.515, allocations: 0.9926 MB / 1.052 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/3.515, allocations: 256 / 1.052 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/3.516, allocations: 0.4937 MB / 1.053 GB, free: 176.9 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/3.518, allocations: 316.3 kB / 1.053 GB, free: 176.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/3.522, allocations: 4.079 MB / 1.057 GB, free: 172.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/3.523, allocations: 1.249 MB / 1.058 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004709/3.524, allocations: 121.8 kB / 1.058 GB, free: 171.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/3.524, allocations: 63.55 kB / 1.058 GB, free: 171.5 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/3.524, allocations: 0 / 1.058 GB, free: 171.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.1231/3.647, allocations: 122.6 MB / 1.178 GB, free: 49.27 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.pipe 2>&1)