Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.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.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7962/0.7962, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 15.97 kB / 204 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1266, allocations: 31.33 MB / 235.4 MB, free: 5.438 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.Examples.SimpleExamples.TestSteamExtractionSplitter): time 1.56/1.687, allocations: 293.8 MB / 0.5168 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04282/1.73, allocations: 39.57 MB / 0.5554 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/1.73, allocations: 4 kB / 0.5554 GB, free: 5.273 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamExtractionSplitter.mo:17:3-19:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamExtractionSplitter.mo:20:3-21:45:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamExtractionSplitter.mo:27:3-29:46:writable] Warning: Connector Cex is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkQ.mo:24:3-26:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000475/1.731, allocations: 148 kB / 0.5555 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/1.731, allocations: 170.6 kB / 0.5557 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01923/1.75, allocations: 7.503 MB / 0.563 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/1.751, allocations: 0.6413 MB / 0.5637 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/1.751, allocations: 274.6 kB / 0.5639 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/1.752, allocations: 246.9 kB / 0.5642 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/1.752, allocations: 238.8 kB / 0.5644 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/1.752, allocations: 31.98 kB / 0.5644 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02919/1.781, allocations: 18.63 MB / 0.5826 GB, free: 9.391 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/1.781, allocations: 87.58 kB / 0.5827 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/1.782, allocations: 282.5 kB / 0.583 GB, free: 9.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01887/1.801, allocations: 9.084 MB / 0.5918 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.801, allocations: 0 / 0.5918 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/1.801, allocations: 0 / 0.5918 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/1.801, allocations: 0 / 0.5918 GB, free: 15.92 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004209/1.805, allocations: 1.743 MB / 0.5935 GB, free: 14.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.805, allocations: 12.03 kB / 0.5936 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/1.805, allocations: 67.09 kB / 0.5936 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/1.805, allocations: 309.9 kB / 0.5939 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/1.806, allocations: 33 kB / 0.5939 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/1.806, allocations: 44 kB / 0.594 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/1.806, allocations: 0.6283 MB / 0.5946 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.806, allocations: 7.938 kB / 0.5946 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/1.807, allocations: 16.84 kB / 0.5946 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.807, allocations: 23.98 kB / 0.5946 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/1.807, allocations: 387.9 kB / 0.595 GB, free: 12.53 MB / 494.1 MB 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.02074/1.828, allocations: 11.82 MB / 0.6066 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/1.829, allocations: 324.4 kB / 0.6069 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/1.829, allocations: 222.3 kB / 0.6071 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1549/1.984, allocations: 80.47 MB / 0.6857 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.984, allocations: 34.56 kB / 0.6857 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.014e-06/1.984, allocations: 0 / 0.6857 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003462/1.987, allocations: 1.39 MB / 0.6871 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.987, allocations: 59.34 kB / 0.6871 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/1.988, allocations: 332.3 kB / 0.6874 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/1.988, allocations: 29.7 kB / 0.6875 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.988, allocations: 228.8 kB / 0.6877 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.988, allocations: 252.1 kB / 0.6879 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.988, allocations: 97.66 kB / 0.688 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.988, allocations: 350.8 kB / 0.6883 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.989, allocations: 156.9 kB / 0.6885 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/1.989, allocations: 274.6 kB / 0.6888 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/1.99, allocations: 493.2 kB / 0.6892 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.99, allocations: 0 / 0.6892 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001306/1.991, allocations: 0.761 MB / 0.69 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.991, allocations: 13.55 kB / 0.69 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.991, allocations: 4 kB / 0.69 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.992, allocations: 0.7979 MB / 0.6908 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/1.992, allocations: 11.94 kB / 0.6908 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1579/2.15, allocations: 2.138 MB / 0.6929 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/2.15, allocations: 62.02 kB / 0.6929 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/2.15, allocations: 17.22 kB / 0.6929 GB, free: 223.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamExtractionSplitter.Cex.b,steamExtractionSplitter.Cs.b,steamExtractionSplitter.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,3), (1,3), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002155/2.151, allocations: 173.9 kB / 0.6931 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/2.151, allocations: 46.03 kB / 0.6931 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/2.153, allocations: 1.396 MB / 0.6945 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001124/2.154, allocations: 0.807 MB / 0.6953 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/2.154, allocations: 0.5625 kB / 0.6953 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/2.154, allocations: 2.938 kB / 0.6953 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/2.156, allocations: 1.858 MB / 0.6971 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/2.156, allocations: 1.75 kB / 0.6971 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/2.157, allocations: 45.73 kB / 0.6972 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/2.158, allocations: 0.8163 MB / 0.698 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/2.158, allocations: 6.969 kB / 0.698 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/2.159, allocations: 2.188 MB / 0.7001 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.159, allocations: 4.938 kB / 0.7001 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/2.16, allocations: 0.9659 MB / 0.701 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/2.161, allocations: 163 kB / 0.7012 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/2.161, allocations: 11.47 kB / 0.7012 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/2.161, allocations: 19.78 kB / 0.7012 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/2.161, allocations: 27.72 kB / 0.7013 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/2.161, allocations: 13.06 kB / 0.7013 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002356/2.161, allocations: 270 kB / 0.7015 GB, free: 221 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.161, allocations: 2.688 kB / 0.7015 GB, free: 221 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002983/2.164, allocations: 1.278 MB / 0.7028 GB, free: 221 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3), (1,3), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005555/2.17, allocations: 1.843 MB / 0.7046 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00124/2.171, allocations: 0.7159 MB / 0.7053 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.171, allocations: 0 / 0.7053 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/2.172, allocations: 405.5 kB / 0.7057 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/2.173, allocations: 234.1 kB / 0.7059 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/2.175, allocations: 1.354 MB / 0.7072 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/2.175, allocations: 0.9086 MB / 0.7081 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001934/2.175, allocations: 43.42 kB / 0.7081 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/2.175, allocations: 30.81 kB / 0.7082 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/2.175, allocations: 1.156 kB / 0.7082 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05283/2.228, allocations: 48.35 MB / 0.7554 GB, free: 187.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe 2>&1)