Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.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.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8511/0.8511, allocations: 150.9 MB / 167.2 MB, free: 14.25 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 13.59 kB / 237.7 MB, free: 1.898 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05345/0.05383, allocations: 31.34 MB / 269.1 MB, free: 7.09 MB / 222.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.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell): time 1.677/1.731, allocations: 295.9 MB / 0.5517 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5685/2.3, allocations: 195.7 MB / 0.7428 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/2.3, allocations: 10.84 kB / 0.7428 GB, free: 1.641 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowShell.mo:144:3-145: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/HeatExchangers/DynamicOnePhaseFlowShell.mo:146:3-147: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/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.0003193/2.3, allocations: 117.1 kB / 0.7429 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007216/2.301, allocations: 451.6 kB / 0.7434 GB, free: 1.617 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0348/2.336, allocations: 13.89 MB / 0.7569 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004045/2.34, allocations: 5.495 MB / 0.7623 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/2.343, allocations: 1.967 MB / 0.7642 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/2.344, allocations: 1.624 MB / 0.7658 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/2.347, allocations: 2.077 MB / 0.7678 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006317/2.348, allocations: 394.2 kB / 0.7682 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0386/2.386, allocations: 19.98 MB / 0.7877 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001444/2.388, allocations: 1.503 MB / 0.7892 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/2.39, allocations: 1.711 MB / 0.7909 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03015/2.42, allocations: 13.82 MB / 0.8044 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/2.421, allocations: 0.9375 kB / 0.8044 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.265e-06/2.421, allocations: 0 / 0.8044 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.192e-05/2.421, allocations: 0 / 0.8044 GB, free: 1.238 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01585/2.437, allocations: 4.598 MB / 0.8089 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/2.437, allocations: 9.156 kB / 0.8089 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007392/2.437, allocations: 273.1 kB / 0.8091 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/2.44, allocations: 1.292 MB / 0.8104 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/2.44, allocations: 213.1 kB / 0.8106 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/2.441, allocations: 284.6 kB / 0.8109 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009473/2.45, allocations: 4.96 MB / 0.8157 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/2.45, allocations: 13.98 kB / 0.8157 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/2.451, allocations: 112 kB / 0.8158 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/2.451, allocations: 68.97 kB / 0.8159 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02066/2.471, allocations: 12.25 MB / 0.8278 GB, free: 9.031 MB / 0.6387 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.02469/2.496, allocations: 20.41 MB / 0.8478 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008225/2.504, allocations: 4.062 MB / 0.8517 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/2.508, allocations: 2.293 MB / 0.854 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9261/3.434, allocations: 349.9 MB / 1.196 GB, free: 263.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.414e-05/3.434, allocations: 68.72 kB / 1.196 GB, free: 263.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=330): time 8.937e-06/3.434, allocations: 4 kB / 1.196 GB, free: 263.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=330): time 0.02187/3.456, allocations: 9.301 MB / 1.205 GB, free: 255.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/3.456, allocations: 112.2 kB / 1.205 GB, free: 255.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/3.458, allocations: 1.107 MB / 1.206 GB, free: 254.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000542/3.458, allocations: 83.52 kB / 1.206 GB, free: 254.8 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:8:3-8:64:writable] Warning: The parameter sinkP.P0 has fixed = false and a binding equation sinkP.P0 = 1.9e6, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0004193/3.459, allocations: 0.7691 MB / 1.207 GB, free: 254.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/3.46, allocations: 1.189 MB / 1.208 GB, free: 253.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/3.461, allocations: 0.7546 MB / 1.209 GB, free: 252.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/3.461, allocations: 305.1 kB / 1.209 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/3.465, allocations: 2.166 MB / 1.211 GB, free: 249.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003908/3.469, allocations: 2.94 MB / 1.214 GB, free: 246.7 MB / 0.8262 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.08801/3.557, allocations: 17.97 MB / 1.232 GB, free: 228.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-05/3.557, allocations: 8 kB / 1.232 GB, free: 228.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01499/3.572, allocations: 6.845 MB / 1.238 GB, free: 222 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/3.572, allocations: 16 kB / 1.238 GB, free: 222 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/3.572, allocations: 20.88 kB / 1.238 GB, free: 222 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0311/3.603, allocations: 5.533 MB / 1.244 GB, free: 216.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/3.609, allocations: 0.9247 MB / 1.245 GB, free: 215.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/3.617, allocations: 4.64 MB / 1.249 GB, free: 211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/3.621, allocations: 412.1 kB / 1.25 GB, free: 210.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/3.621, allocations: 195.9 kB / 1.25 GB, free: 210.4 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dynamicOnePhaseFlowPipeShell.Q[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,dynamicOnePhaseFlowPipeShell.fluid,sinkP.fluid,dynamicOnePhaseFlowPipeShell.C1.diff_on_2,dynamicOnePhaseFlowPipeShell.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 323 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(21,130)} Notification: Performance of prepare postOptimizeDAE: time 0.001368/3.623, allocations: 0.6838 MB / 1.25 GB, free: 209.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/3.623, allocations: 205.7 kB / 1.251 GB, free: 209.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/3.636, allocations: 6.578 MB / 1.257 GB, free: 202.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/3.636, allocations: 15.94 kB / 1.257 GB, free: 202.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/3.636, allocations: 2.844 kB / 1.257 GB, free: 202.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/3.638, allocations: 0.7905 MB / 1.258 GB, free: 202.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/3.638, allocations: 91.97 kB / 1.258 GB, free: 202 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/3.64, allocations: 135.9 kB / 1.258 GB, free: 201.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006649/3.641, allocations: 330.2 kB / 1.258 GB, free: 201.5 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01682/3.658, allocations: 5.968 MB / 1.264 GB, free: 195.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01356/3.671, allocations: 7.614 MB / 1.272 GB, free: 187.9 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003858/3.675, allocations: 2.322 MB / 1.274 GB, free: 185.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009825/3.676, allocations: 0.7216 MB / 1.275 GB, free: 184.8 MB / 0.8262 GB Notification: Performance of Backend: time 7.12e-07/3.676, allocations: 0.5625 kB / 1.275 GB, free: 184.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0274/3.704, allocations: 7.407 MB / 1.282 GB, free: 178.3 MB / 0.8262 GB Notification: Performance of SimCode: time 0.009819/3.714, allocations: 6.534 MB / 1.288 GB, free: 172 MB / 0.8262 GB Notification: Performance of Templates: time 0.152/3.866, allocations: 134.3 MB / 1.419 GB, free: 38.36 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe 2>&1)