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.8567/0.8567, allocations: 150.8 MB / 166.6 MB, free: 11.19 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002563, allocations: 19.97 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 31.33 MB / 236 MB, free: 3.914 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.Examples.SimpleExamples.TestSteamExtractionSplitter): time 1.694/1.84, allocations: 293.1 MB / 0.5167 GB, free: 8.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0467/1.887, allocations: 39.56 MB / 0.5554 GB, free: 1.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/1.887, allocations: 4 kB / 0.5554 GB, free: 1.453 MB / 442.7 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.0005283/1.888, allocations: 149 kB / 0.5555 GB, free: 1.309 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/1.888, allocations: 178.6 kB / 0.5557 GB, free: 1.133 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01994/1.908, allocations: 7.496 MB / 0.563 GB, free: 9.637 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/1.909, allocations: 0.6569 MB / 0.5636 GB, free: 8.977 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/1.909, allocations: 258 kB / 0.5639 GB, free: 8.719 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/1.909, allocations: 250.9 kB / 0.5641 GB, free: 8.473 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/1.91, allocations: 250.7 kB / 0.5644 GB, free: 8.227 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/1.91, allocations: 28 kB / 0.5644 GB, free: 8.199 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03086/1.941, allocations: 18.62 MB / 0.5826 GB, free: 5.551 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/1.941, allocations: 87.62 kB / 0.5827 GB, free: 5.465 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/1.941, allocations: 282.5 kB / 0.5829 GB, free: 5.188 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/1.959, allocations: 9.08 MB / 0.5918 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.959, allocations: 0 / 0.5918 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/1.959, allocations: 0 / 0.5918 GB, free: 12.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/1.959, allocations: 0 / 0.5918 GB, free: 12.09 MB / 490.7 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.003703/1.963, allocations: 1.755 MB / 0.5935 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/1.963, allocations: 12.03 kB / 0.5935 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/1.963, allocations: 67.09 kB / 0.5936 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/1.963, allocations: 306 kB / 0.5939 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/1.963, allocations: 33 kB / 0.5939 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/1.963, allocations: 48 kB / 0.594 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/1.964, allocations: 0.6205 MB / 0.5946 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.964, allocations: 11.88 kB / 0.5946 GB, free: 9.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/1.964, allocations: 16 kB / 0.5946 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/1.964, allocations: 27.98 kB / 0.5946 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/1.965, allocations: 391.9 kB / 0.595 GB, free: 8.68 MB / 490.7 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.02104/1.986, allocations: 11.82 MB / 0.6065 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/1.986, allocations: 315.6 kB / 0.6068 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/1.987, allocations: 226.1 kB / 0.6071 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1683/2.155, allocations: 80.47 MB / 0.6856 GB, free: 1.727 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/2.155, allocations: 34.56 kB / 0.6857 GB, free: 1.684 MB / 0.573 GB Notification: Performance of pre-optimization done (n=79): time 2.384e-06/2.155, allocations: 0 / 0.6857 GB, free: 1.684 MB / 0.573 GB Notification: Performance of matching and sorting (n=79): time 0.003571/2.159, allocations: 1.392 MB / 0.687 GB, free: 228 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/2.159, allocations: 55.34 kB / 0.6871 GB, free: 160 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1567/2.315, allocations: 322.3 kB / 0.6874 GB, free: 222.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/2.315, allocations: 28.89 kB / 0.6874 GB, free: 222.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/2.315, allocations: 225.8 kB / 0.6876 GB, free: 222 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/2.316, allocations: 257.1 kB / 0.6879 GB, free: 221.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/2.316, allocations: 95.47 kB / 0.688 GB, free: 221.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/2.316, allocations: 357.7 kB / 0.6883 GB, free: 221.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/2.316, allocations: 159.6 kB / 0.6885 GB, free: 221.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/2.316, allocations: 272.8 kB / 0.6887 GB, free: 221.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/2.317, allocations: 489.4 kB / 0.6892 GB, free: 221.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.317, allocations: 1.281 kB / 0.6892 GB, free: 221.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001328/2.318, allocations: 0.7597 MB / 0.6899 GB, free: 221.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/2.318, allocations: 8.391 kB / 0.6899 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/2.318, allocations: 6.453 kB / 0.69 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/2.32, allocations: 0.7926 MB / 0.6907 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/2.32, allocations: 10.88 kB / 0.6907 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/2.321, allocations: 2.147 MB / 0.6928 GB, free: 219.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/2.321, allocations: 66.33 kB / 0.6929 GB, free: 219.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/2.322, allocations: 15.47 kB / 0.6929 GB, free: 219.6 MB / 0.573 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.0001719/2.322, allocations: 177 kB / 0.6931 GB, free: 219.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/2.322, allocations: 45.94 kB / 0.6931 GB, free: 219.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/2.324, allocations: 1.402 MB / 0.6945 GB, free: 219.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001125/2.325, allocations: 0.7966 MB / 0.6953 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.325, allocations: 0.75 kB / 0.6953 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/2.325, allocations: 3.031 kB / 0.6953 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/2.327, allocations: 1.85 MB / 0.6971 GB, free: 218.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/2.327, allocations: 0 / 0.6971 GB, free: 218.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/2.327, allocations: 50.23 kB / 0.6971 GB, free: 218.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/2.328, allocations: 0.8264 MB / 0.6979 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/2.328, allocations: 10.41 kB / 0.6979 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/2.33, allocations: 2.177 MB / 0.7001 GB, free: 217.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.33, allocations: 7.203 kB / 0.7001 GB, free: 217.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/2.331, allocations: 1.907 MB / 0.7019 GB, free: 216.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/2.332, allocations: 162.4 kB / 0.7021 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/2.332, allocations: 14.12 kB / 0.7021 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/2.332, allocations: 17.61 kB / 0.7021 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/2.332, allocations: 29.55 kB / 0.7022 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/2.332, allocations: 13.53 kB / 0.7022 GB, free: 216.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002173/2.332, allocations: 270.1 kB / 0.7024 GB, free: 216 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/2.332, allocations: 2.438 kB / 0.7024 GB, free: 216 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002853/2.335, allocations: 1.316 MB / 0.7037 GB, free: 216 MB / 0.573 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.005371/2.34, allocations: 1.845 MB / 0.7055 GB, free: 215.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001266/2.342, allocations: 0.725 MB / 0.7062 GB, free: 215.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/2.342, allocations: 2.906 kB / 0.7062 GB, free: 215.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/2.342, allocations: 400.4 kB / 0.7066 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/2.344, allocations: 220.5 kB / 0.7068 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/2.346, allocations: 1.822 MB / 0.7086 GB, free: 214.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/2.346, allocations: 0.935 MB / 0.7095 GB, free: 214 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002099/2.346, allocations: 45.06 kB / 0.7096 GB, free: 214 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/2.346, allocations: 30.06 kB / 0.7096 GB, free: 214 MB / 0.573 GB Notification: Performance of SimCode: time 4.61e-07/2.346, allocations: 0.6875 kB / 0.7096 GB, free: 214 MB / 0.573 GB Notification: Performance of Templates: time 0.05578/2.402, allocations: 48.8 MB / 0.7572 GB, free: 180.3 MB / 0.573 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)