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.9085/0.9085, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 15.97 kB / 204 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1731, allocations: 31.33 MB / 235.4 MB, free: 5.707 MB / 190.1 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.612/1.785, allocations: 295 MB / 0.5179 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5479/2.333, allocations: 200.2 MB / 0.7134 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/2.334, allocations: 14.88 kB / 0.7134 GB, free: 3.391 MB / 0.5762 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.0007278/2.335, allocations: 183.8 kB / 0.7136 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008688/2.336, allocations: 317.1 kB / 0.7139 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03424/2.37, allocations: 11.27 MB / 0.7249 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001733/2.372, allocations: 1.198 MB / 0.7261 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/2.372, allocations: 0.5176 MB / 0.7266 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006921/2.373, allocations: 497.3 kB / 0.727 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/2.373, allocations: 0.5022 MB / 0.7275 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/2.374, allocations: 62.56 kB / 0.7276 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04317/2.417, allocations: 26.12 MB / 0.7531 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004771/2.417, allocations: 308 kB / 0.7534 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008865/2.418, allocations: 0.6011 MB / 0.754 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03357/2.452, allocations: 13.48 MB / 0.7671 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/2.452, allocations: 0 / 0.7671 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.275e-06/2.452, allocations: 2.781 kB / 0.7671 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.284e-05/2.452, allocations: 0 / 0.7671 GB, free: 10.07 MB / 0.5919 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.008568/2.46, allocations: 3.15 MB / 0.7702 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/2.46, allocations: 10.41 kB / 0.7702 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/2.461, allocations: 166.7 kB / 0.7704 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/2.461, allocations: 0.6552 MB / 0.771 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/2.462, allocations: 128 kB / 0.7712 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/2.462, allocations: 83.03 kB / 0.7712 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/2.463, allocations: 1.004 MB / 0.7722 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/2.463, allocations: 3.844 kB / 0.7722 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/2.464, allocations: 41.11 kB / 0.7723 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/2.464, allocations: 30.55 kB / 0.7723 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/2.465, allocations: 0.7902 MB / 0.7731 GB, free: 7.051 MB / 0.5919 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.1592/2.624, allocations: 65.96 MB / 0.8375 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/2.627, allocations: 0.7064 MB / 0.8382 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/2.627, allocations: 282.7 kB / 0.8384 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6568/3.284, allocations: 158.1 MB / 0.9929 GB, free: 229.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/3.284, allocations: 37.39 kB / 0.9929 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=78): time 3.947e-06/3.284, allocations: 0 / 0.9929 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=78): time 0.008473/3.293, allocations: 2.28 MB / 0.9951 GB, free: 229 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/3.293, allocations: 57.28 kB / 0.9952 GB, free: 228.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/3.294, allocations: 1.123 MB / 0.9963 GB, free: 228.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/3.294, allocations: 36.23 kB / 0.9963 GB, free: 228.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/3.295, allocations: 0.6323 MB / 0.9969 GB, free: 228.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/3.295, allocations: 262.1 kB / 0.9972 GB, free: 228.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/3.295, allocations: 181 kB / 0.9973 GB, free: 228.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/3.295, allocations: 342.8 kB / 0.9977 GB, free: 228.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/3.296, allocations: 291.5 kB / 0.9979 GB, free: 228.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/3.297, allocations: 0.516 MB / 0.9984 GB, free: 227.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/3.298, allocations: 0.8281 MB / 0.9993 GB, free: 227.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/3.298, allocations: 3.219 kB / 0.9993 GB, free: 227.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003425/3.301, allocations: 1.381 MB / 1.001 GB, free: 227.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/3.301, allocations: 8.5 kB / 1.001 GB, free: 227.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/3.302, allocations: 7.438 kB / 1.001 GB, free: 227.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007751/3.309, allocations: 1.336 MB / 1.002 GB, free: 227.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/3.31, allocations: 109.7 kB / 1.002 GB, free: 227.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/3.312, allocations: 2.816 MB / 1.005 GB, free: 225.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/3.313, allocations: 127.4 kB / 1.005 GB, free: 225.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/3.314, allocations: 39.62 kB / 1.005 GB, free: 225.1 MB / 0.8106 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.0005624/3.314, allocations: 321 kB / 1.005 GB, free: 225 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/3.314, allocations: 124 kB / 1.005 GB, free: 224.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/3.317, allocations: 1.421 MB / 1.007 GB, free: 224.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001873/3.319, allocations: 1.039 MB / 1.008 GB, free: 224.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/3.319, allocations: 3.891 kB / 1.008 GB, free: 224.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/3.319, allocations: 0 / 1.008 GB, free: 224.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004728/3.324, allocations: 2.475 MB / 1.01 GB, free: 224.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/3.324, allocations: 0 / 1.01 GB, free: 224.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/3.324, allocations: 70.64 kB / 1.01 GB, free: 224.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005602/3.33, allocations: 1.199 MB / 1.011 GB, free: 224.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/3.33, allocations: 19.58 kB / 1.011 GB, free: 224.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/3.332, allocations: 2.844 MB / 1.014 GB, free: 222 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/3.332, allocations: 1.641 kB / 1.014 GB, free: 222 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/3.336, allocations: 1.692 MB / 1.016 GB, free: 221.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/3.337, allocations: 257.7 kB / 1.016 GB, free: 221.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/3.337, allocations: 12.91 kB / 1.016 GB, free: 221.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/3.338, allocations: 39.27 kB / 1.016 GB, free: 221.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/3.338, allocations: 44.41 kB / 1.016 GB, free: 221.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/3.338, allocations: 22.86 kB / 1.016 GB, free: 221.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001248/3.339, allocations: 0.7645 MB / 1.017 GB, free: 221.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/3.339, allocations: 0 / 1.017 GB, free: 221.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009656/3.349, allocations: 2.223 MB / 1.019 GB, free: 221.3 MB / 0.8106 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.01302/3.362, allocations: 3.138 MB / 1.022 GB, free: 221 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002638/3.364, allocations: 0.9918 MB / 1.023 GB, free: 220.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/3.364, allocations: 2.406 kB / 1.023 GB, free: 220.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/3.366, allocations: 0.4937 MB / 1.024 GB, free: 220.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/3.368, allocations: 316.2 kB / 1.024 GB, free: 220.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/3.372, allocations: 2.904 MB / 1.027 GB, free: 219.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/3.373, allocations: 1.203 MB / 1.028 GB, free: 218.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005456/3.374, allocations: 101.7 kB / 1.028 GB, free: 218.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/3.374, allocations: 51.91 kB / 1.028 GB, free: 218.6 MB / 0.8106 GB Notification: Performance of SimCode: time 7.02e-07/3.374, allocations: 0 / 1.028 GB, free: 218.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.08374/3.458, allocations: 78.44 MB / 1.105 GB, free: 151 MB / 0.8106 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)