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.8068/0.8068, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 15.19 kB / 237.7 MB, free: 1.824 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05969/0.06007, allocations: 31.34 MB / 269.1 MB, free: 7.117 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.611/1.671, allocations: 295.9 MB / 0.5517 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5163/2.188, allocations: 195.6 MB / 0.7427 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/2.188, allocations: 13.44 kB / 0.7428 GB, free: 1.652 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.0003529/2.188, allocations: 118.1 kB / 0.7429 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007654/2.189, allocations: 443.5 kB / 0.7433 GB, free: 1.629 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.03402/2.223, allocations: 13.63 MB / 0.7566 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003824/2.227, allocations: 5.489 MB / 0.762 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/2.23, allocations: 1.971 MB / 0.7639 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/2.231, allocations: 1.618 MB / 0.7655 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/2.234, allocations: 2.079 MB / 0.7675 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006297/2.234, allocations: 397 kB / 0.7679 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03919/2.274, allocations: 19.98 MB / 0.7874 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/2.275, allocations: 1.503 MB / 0.7889 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/2.277, allocations: 1.718 MB / 0.7905 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02875/2.306, allocations: 13.81 MB / 0.804 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.306, allocations: 0.7188 kB / 0.804 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.646e-06/2.306, allocations: 0 / 0.804 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001321/2.306, allocations: 4.875 kB / 0.804 GB, free: 1.633 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.01694/2.323, allocations: 4.594 MB / 0.8085 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/2.323, allocations: 8.031 kB / 0.8085 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/2.324, allocations: 274 kB / 0.8088 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/2.328, allocations: 1.299 MB / 0.8101 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/2.328, allocations: 209.1 kB / 0.8103 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008735/2.329, allocations: 291.8 kB / 0.8105 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007477/2.336, allocations: 4.96 MB / 0.8154 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/2.336, allocations: 13.38 kB / 0.8154 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/2.337, allocations: 112.9 kB / 0.8155 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/2.337, allocations: 68 kB / 0.8156 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/2.355, allocations: 12.25 MB / 0.8275 GB, free: 9.426 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.02936/2.385, allocations: 20.41 MB / 0.8474 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009451/2.394, allocations: 4.058 MB / 0.8514 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/2.399, allocations: 2.297 MB / 0.8537 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9792/3.378, allocations: 349.9 MB / 1.195 GB, free: 58.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/3.378, allocations: 67.84 kB / 1.195 GB, free: 58.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=330): time 5.18e-06/3.378, allocations: 0 / 1.195 GB, free: 58.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=330): time 0.01791/3.396, allocations: 9.304 MB / 1.204 GB, free: 51.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/3.396, allocations: 111.7 kB / 1.205 GB, free: 51.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/3.397, allocations: 1.107 MB / 1.206 GB, free: 50.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002092/3.397, allocations: 86.58 kB / 1.206 GB, free: 50.21 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.0003358/3.398, allocations: 0.7653 MB / 1.206 GB, free: 49.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006515/3.398, allocations: 1.19 MB / 1.208 GB, free: 48.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000942/3.399, allocations: 0.7493 MB / 1.208 GB, free: 48.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.322e-05/3.399, allocations: 308.4 kB / 1.209 GB, free: 47.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/3.403, allocations: 2.161 MB / 1.211 GB, free: 46.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/3.406, allocations: 2.949 MB / 1.214 GB, free: 43.92 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.08431/3.49, allocations: 17.97 MB / 1.231 GB, free: 28.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/3.49, allocations: 8 kB / 1.231 GB, free: 28.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01309/3.504, allocations: 6.855 MB / 1.238 GB, free: 24.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/3.504, allocations: 16.66 kB / 1.238 GB, free: 24.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/3.504, allocations: 23.98 kB / 1.238 GB, free: 24.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03079/3.534, allocations: 5.524 MB / 1.243 GB, free: 18.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/3.54, allocations: 0.9214 MB / 1.244 GB, free: 18.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/3.547, allocations: 4.644 MB / 1.249 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/3.551, allocations: 408.1 kB / 1.249 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/3.551, allocations: 199.9 kB / 1.249 GB, free: 13.96 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.001193/3.552, allocations: 0.6899 MB / 1.25 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/3.553, allocations: 205.6 kB / 1.25 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/3.565, allocations: 6.561 MB / 1.257 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/3.565, allocations: 19.92 kB / 1.257 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/3.565, allocations: 0 / 1.257 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/3.567, allocations: 0.7922 MB / 1.257 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/3.567, allocations: 91.95 kB / 1.258 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/3.57, allocations: 143.9 kB / 1.258 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/3.57, allocations: 323.3 kB / 1.258 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01478/3.585, allocations: 5.969 MB / 1.264 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01318/3.598, allocations: 7.62 MB / 1.271 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003811/3.602, allocations: 2.325 MB / 1.274 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000947/3.603, allocations: 0.7216 MB / 1.274 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of Backend: time 4.5e-07/3.603, allocations: 0 / 1.274 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02103/3.624, allocations: 7.399 MB / 1.281 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of SimCode: time 0.009058/3.633, allocations: 6.542 MB / 1.288 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.5122/4.145, allocations: 134.3 MB / 1.419 GB, free: 201.1 MB / 0.8731 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)