Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.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.TestDynamicMultiFluidHeatExchangerShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8285/0.8285, allocations: 150.9 MB / 167.2 MB, free: 14.25 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 15.77 kB / 237.8 MB, free: 1.848 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05982/0.06016, allocations: 31.35 MB / 269.1 MB, free: 7.012 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.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell): time 1.742/1.802, allocations: 298.3 MB / 0.5542 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6016/2.404, allocations: 196.6 MB / 0.7462 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/2.405, allocations: 26.19 kB / 0.7462 GB, free: 1.75 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63: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/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/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/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151: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/DynamicOnePhaseFlowPipe.mo:152:3-153: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/HeatExchangers/DynamicMultiFluidHeatExchangerShell.mo:96:3-97:72:writable] Warning: Connector Cfg1 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/DynamicMultiFluidHeatExchangerShell.mo:98:3-99:74:writable] Warning: Connector Cfg2 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/DynamicMultiFluidHeatExchangerShell.mo:100:3-101:75:writable] Warning: Connector Cws1 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/DynamicMultiFluidHeatExchangerShell.mo:102:3-103:73:writable] Warning: Connector Cws2 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005976/2.406, allocations: 245.1 kB / 0.7464 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/2.407, allocations: 0.8383 MB / 0.7473 GB, free: 1.707 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.03965/2.447, allocations: 14.09 MB / 0.761 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005754/2.453, allocations: 6.038 MB / 0.7669 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/2.456, allocations: 2.045 MB / 0.7689 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/2.459, allocations: 1.832 MB / 0.7707 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/2.464, allocations: 2.257 MB / 0.7729 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001398/2.465, allocations: 0.5092 MB / 0.7734 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04678/2.512, allocations: 23.2 MB / 0.7961 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00236/2.514, allocations: 1.473 MB / 0.7975 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003434/2.518, allocations: 1.823 MB / 0.7993 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03452/2.552, allocations: 16 MB / 0.8149 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/2.552, allocations: 0.5312 kB / 0.8149 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.515e-06/2.552, allocations: 0 / 0.8149 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.311e-05/2.552, allocations: 0.875 kB / 0.8149 GB, free: 8.559 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.01525/2.568, allocations: 4.785 MB / 0.8196 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/2.568, allocations: 9.031 kB / 0.8196 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006867/2.568, allocations: 292.8 kB / 0.8199 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/2.571, allocations: 1.585 MB / 0.8214 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/2.572, allocations: 319.9 kB / 0.8217 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/2.572, allocations: 251.1 kB / 0.822 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008596/2.581, allocations: 4.423 MB / 0.8263 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/2.581, allocations: 4 kB / 0.8263 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/2.581, allocations: 109.8 kB / 0.8264 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-05/2.581, allocations: 60 kB / 0.8264 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/2.595, allocations: 7.909 MB / 0.8342 GB, free: 4.762 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.2066/2.802, allocations: 112.2 MB / 0.9437 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/2.815, allocations: 5.052 MB / 0.9487 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/2.82, allocations: 2.364 MB / 0.951 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8233/3.643, allocations: 363.3 MB / 1.306 GB, free: 134.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/3.643, allocations: 68.08 kB / 1.306 GB, free: 134.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=319): time 9.308e-06/3.643, allocations: 0 / 1.306 GB, free: 134.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=319): time 0.01966/3.663, allocations: 8.216 MB / 1.314 GB, free: 126.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/3.663, allocations: 111.6 kB / 1.314 GB, free: 126.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/3.664, allocations: 0.9998 MB / 1.315 GB, free: 125.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004044/3.665, allocations: 77.7 kB / 1.315 GB, free: 125.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/3.665, allocations: 0.7384 MB / 1.316 GB, free: 125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008052/3.666, allocations: 1.08 MB / 1.317 GB, free: 124 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009157/3.667, allocations: 0.6078 MB / 1.317 GB, free: 123.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/3.667, allocations: 305.1 kB / 1.318 GB, free: 123.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/3.67, allocations: 1.923 MB / 1.32 GB, free: 121.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/3.673, allocations: 2.417 MB / 1.322 GB, free: 118.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006856/3.68, allocations: 4.664 MB / 1.326 GB, free: 113.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/3.68, allocations: 4 kB / 1.326 GB, free: 113.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01437/3.695, allocations: 7.178 MB / 1.334 GB, free: 106.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/3.695, allocations: 13.56 kB / 1.334 GB, free: 106.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/3.695, allocations: 11.78 kB / 1.334 GB, free: 106.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0519/3.747, allocations: 10.08 MB / 1.343 GB, free: 96.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/3.748, allocations: 207.1 kB / 1.344 GB, free: 96.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/3.76, allocations: 7.937 MB / 1.351 GB, free: 88.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/3.763, allocations: 313 kB / 1.352 GB, free: 88.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/3.763, allocations: 151.9 kB / 1.352 GB, free: 87.97 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.fluid,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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 {(22,246)} Notification: Performance of prepare postOptimizeDAE: time 0.001592/3.765, allocations: 0.6676 MB / 1.352 GB, free: 87.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007636/3.766, allocations: 205.6 kB / 1.353 GB, free: 87.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/3.782, allocations: 8.213 MB / 1.361 GB, free: 78.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.769e-05/3.782, allocations: 15.95 kB / 1.361 GB, free: 78.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/3.782, allocations: 0 / 1.361 GB, free: 78.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/3.784, allocations: 0.8024 MB / 1.361 GB, free: 78.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/3.784, allocations: 52.75 kB / 1.361 GB, free: 78.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/3.786, allocations: 107.9 kB / 1.362 GB, free: 77.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/3.786, allocations: 202.2 kB / 1.362 GB, free: 77.73 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02401/3.81, allocations: 8.601 MB / 1.37 GB, free: 69.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009958/3.82, allocations: 7.004 MB / 1.377 GB, free: 62.09 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00297/3.823, allocations: 2.196 MB / 1.379 GB, free: 59.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008451/3.824, allocations: 0.691 MB / 1.38 GB, free: 59.18 MB / 0.8262 GB Notification: Performance of Backend: time 3.41e-07/3.824, allocations: 0 / 1.38 GB, free: 59.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02649/3.851, allocations: 7.438 MB / 1.387 GB, free: 52.65 MB / 0.8262 GB Notification: Performance of SimCode: time 0.007918/3.859, allocations: 6.853 MB / 1.394 GB, free: 45.81 MB / 0.8262 GB Notification: Performance of Templates: time 0.3771/4.236, allocations: 144.7 MB / 1.535 GB, free: 368.6 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe 2>&1)