Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.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.TestDynamicMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8431/0.8431, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 16.5 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06999/0.07037, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.TestDynamicMultiFluidHeatExchanger): time 1.804/1.874, allocations: 298.3 MB / 0.5541 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5874/2.461, allocations: 196.6 MB / 0.7461 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/2.462, allocations: 29.72 kB / 0.7461 GB, free: 1.742 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/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/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/DynamicMultiFluidHeatExchanger.mo:114:3-115:51: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/DynamicMultiFluidHeatExchanger.mo:116:3-117:53: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/DynamicMultiFluidHeatExchanger.mo:118:3-119: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/DynamicMultiFluidHeatExchanger.mo:120:3-121: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.000535/2.463, allocations: 248.9 kB / 0.7463 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/2.464, allocations: 0.827 MB / 0.7472 GB, free: 1.695 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.04166/2.506, allocations: 14.1 MB / 0.7609 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006209/2.512, allocations: 6.012 MB / 0.7668 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/2.515, allocations: 2.044 MB / 0.7688 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/2.517, allocations: 1.83 MB / 0.7706 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/2.52, allocations: 2.232 MB / 0.7728 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008712/2.521, allocations: 0.5051 MB / 0.7732 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04796/2.569, allocations: 23.16 MB / 0.7959 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002112/2.571, allocations: 1.479 MB / 0.7973 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003094/2.575, allocations: 1.826 MB / 0.7991 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03995/2.615, allocations: 15.98 MB / 0.8147 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/2.615, allocations: 0 / 0.8147 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.274e-06/2.615, allocations: 0 / 0.8147 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001184/2.615, allocations: 0.8125 kB / 0.8147 GB, free: 8.797 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: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.01566/2.63, allocations: 4.812 MB / 0.8194 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/2.63, allocations: 15.88 kB / 0.8194 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007592/2.631, allocations: 293.7 kB / 0.8197 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/2.634, allocations: 1.616 MB / 0.8213 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/2.635, allocations: 447.8 kB / 0.8217 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/2.635, allocations: 248 kB / 0.8219 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008318/2.643, allocations: 4.411 MB / 0.8262 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/2.644, allocations: 0.9688 kB / 0.8262 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/2.644, allocations: 107.9 kB / 0.8264 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/2.644, allocations: 64 kB / 0.8264 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/2.656, allocations: 7.892 MB / 0.8341 GB, free: 4.824 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.1974/2.853, allocations: 112.2 MB / 0.9436 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/2.867, allocations: 5.306 MB / 0.9488 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00457/2.871, allocations: 2.358 MB / 0.9511 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8114/3.683, allocations: 363.3 MB / 1.306 GB, free: 134.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/3.683, allocations: 69.05 kB / 1.306 GB, free: 134.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=324): time 5.811e-06/3.683, allocations: 0 / 1.306 GB, free: 134.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=324): time 0.01377/3.697, allocations: 8.188 MB / 1.314 GB, free: 127.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/3.697, allocations: 85.95 kB / 1.314 GB, free: 127 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/3.698, allocations: 0.9893 MB / 1.315 GB, free: 126 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/3.698, allocations: 77.7 kB / 1.315 GB, free: 125.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/3.698, allocations: 0.7415 MB / 1.316 GB, free: 125.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/3.699, allocations: 1.089 MB / 1.317 GB, free: 124.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008557/3.7, allocations: 0.6117 MB / 1.318 GB, free: 123.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/3.7, allocations: 305.1 kB / 1.318 GB, free: 123.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/3.703, allocations: 1.919 MB / 1.32 GB, free: 121.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/3.706, allocations: 2.4 MB / 1.322 GB, free: 118.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/3.712, allocations: 4.663 MB / 1.327 GB, free: 114 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/3.712, allocations: 4 kB / 1.327 GB, free: 114 MB / 0.8262 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01124/3.724, allocations: 6.886 MB / 1.333 GB, free: 107.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/3.724, allocations: 8 kB / 1.333 GB, free: 107.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/3.724, allocations: 12 kB / 1.333 GB, free: 107.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04369/3.767, allocations: 10.03 MB / 1.343 GB, free: 97.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/3.768, allocations: 209.5 kB / 1.343 GB, free: 96.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/3.779, allocations: 7.93 MB / 1.351 GB, free: 88.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/3.781, allocations: 311.6 kB / 1.351 GB, free: 88.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/3.782, allocations: 152.7 kB / 1.351 GB, free: 88.51 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,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.fluid,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.C1.diff_on_2,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.C2.diff_on_1,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.C1.diff_on_2,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.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,251)} Notification: Performance of prepare postOptimizeDAE: time 0.00103/3.783, allocations: 0.6654 MB / 1.352 GB, free: 87.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/3.783, allocations: 205.8 kB / 1.352 GB, free: 87.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/3.797, allocations: 7.847 MB / 1.36 GB, free: 79.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/3.797, allocations: 20.72 kB / 1.36 GB, free: 79.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/3.797, allocations: 0 / 1.36 GB, free: 79.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/3.799, allocations: 0.7985 MB / 1.361 GB, free: 78.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/3.799, allocations: 52 kB / 1.361 GB, free: 78.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/3.8, allocations: 111.9 kB / 1.361 GB, free: 78.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/3.801, allocations: 197.3 kB / 1.361 GB, free: 78.61 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02175/3.823, allocations: 8.542 MB / 1.369 GB, free: 70.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009343/3.832, allocations: 6.986 MB / 1.376 GB, free: 63.04 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002754/3.835, allocations: 2.182 MB / 1.378 GB, free: 60.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007842/3.836, allocations: 0.6725 MB / 1.379 GB, free: 60.16 MB / 0.8262 GB Notification: Performance of Backend: time 4.31e-07/3.836, allocations: 0 / 1.379 GB, free: 60.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02216/3.858, allocations: 7.444 MB / 1.386 GB, free: 53.63 MB / 0.8262 GB Notification: Performance of SimCode: time 0.006943/3.865, allocations: 6.869 MB / 1.393 GB, free: 46.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.3825/4.247, allocations: 143.6 MB / 1.533 GB, free: 371.6 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe 2>&1)