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.828/0.828, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 17.5 kB / 237.8 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05059/0.05097, allocations: 31.34 MB / 269.1 MB, free: 7.051 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.67/1.721, allocations: 298.4 MB / 0.5542 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5209/2.242, allocations: 196.6 MB / 0.7462 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/2.243, allocations: 28.66 kB / 0.7462 GB, free: 1.777 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.0006863/2.244, allocations: 244.1 kB / 0.7464 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/2.246, allocations: 0.8405 MB / 0.7472 GB, free: 1.73 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.0389/2.285, allocations: 14.35 MB / 0.7612 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004925/2.29, allocations: 6.023 MB / 0.7671 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/2.292, allocations: 2.046 MB / 0.7691 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/2.294, allocations: 1.826 MB / 0.7709 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/2.298, allocations: 2.234 MB / 0.7731 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/2.299, allocations: 0.5038 MB / 0.7736 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04739/2.346, allocations: 23.17 MB / 0.7962 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001809/2.348, allocations: 1.476 MB / 0.7977 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/2.351, allocations: 1.828 MB / 0.7994 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03285/2.384, allocations: 15.99 MB / 0.8151 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/2.384, allocations: 1.031 kB / 0.8151 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/2.384, allocations: 0 / 0.8151 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001211/2.384, allocations: 0 / 0.8151 GB, free: 8.566 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.01491/2.399, allocations: 4.805 MB / 0.8197 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.399, allocations: 14.42 kB / 0.8198 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/2.4, allocations: 294.9 kB / 0.82 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/2.403, allocations: 1.62 MB / 0.8216 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/2.403, allocations: 439.6 kB / 0.822 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/2.404, allocations: 251.4 kB / 0.8223 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008647/2.412, allocations: 4.41 MB / 0.8266 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/2.413, allocations: 0.75 kB / 0.8266 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/2.413, allocations: 111.9 kB / 0.8267 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/2.413, allocations: 60.72 kB / 0.8268 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/2.426, allocations: 7.899 MB / 0.8345 GB, free: 4.598 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.2151/2.641, allocations: 112.2 MB / 0.944 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/2.655, allocations: 5.296 MB / 0.9492 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004916/2.66, allocations: 2.365 MB / 0.9515 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8607/3.52, allocations: 363.3 MB / 1.306 GB, free: 134.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.636e-05/3.521, allocations: 68.3 kB / 1.306 GB, free: 134.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=324): time 7.745e-06/3.521, allocations: 1.078 kB / 1.306 GB, free: 134.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=324): time 0.01494/3.536, allocations: 8.182 MB / 1.314 GB, free: 127 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/3.536, allocations: 85.95 kB / 1.314 GB, free: 126.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/3.537, allocations: 0.9921 MB / 1.315 GB, free: 125.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/3.537, allocations: 77.7 kB / 1.315 GB, free: 125.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/3.537, allocations: 0.7325 MB / 1.316 GB, free: 125.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006831/3.538, allocations: 1.108 MB / 1.317 GB, free: 124 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009084/3.539, allocations: 0.6001 MB / 1.318 GB, free: 123.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.651e-05/3.539, allocations: 301.1 kB / 1.318 GB, free: 123.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/3.542, allocations: 1.923 MB / 1.32 GB, free: 121.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/3.545, allocations: 2.404 MB / 1.322 GB, free: 118.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006621/3.552, allocations: 4.663 MB / 1.327 GB, free: 113.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/3.552, allocations: 4 kB / 1.327 GB, free: 113.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01216/3.564, allocations: 6.881 MB / 1.334 GB, free: 107 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/3.564, allocations: 18.45 kB / 1.334 GB, free: 107 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/3.564, allocations: 12 kB / 1.334 GB, free: 106.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04755/3.612, allocations: 10.03 MB / 1.343 GB, free: 97.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/3.613, allocations: 206.8 kB / 1.344 GB, free: 96.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/3.625, allocations: 7.933 MB / 1.351 GB, free: 88.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/3.627, allocations: 320.9 kB / 1.352 GB, free: 88.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/3.627, allocations: 147.9 kB / 1.352 GB, free: 88.37 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.001368/3.629, allocations: 0.6683 MB / 1.353 GB, free: 87.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/3.629, allocations: 209.8 kB / 1.353 GB, free: 87.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/3.644, allocations: 7.835 MB / 1.36 GB, free: 79.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/3.644, allocations: 11.95 kB / 1.36 GB, free: 79.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/3.644, allocations: 3.984 kB / 1.36 GB, free: 79.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/3.646, allocations: 0.7907 MB / 1.361 GB, free: 78.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/3.646, allocations: 64.34 kB / 1.361 GB, free: 78.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/3.648, allocations: 115.9 kB / 1.361 GB, free: 78.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004299/3.648, allocations: 198.2 kB / 1.362 GB, free: 78.46 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02239/3.671, allocations: 8.535 MB / 1.37 GB, free: 69.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009817/3.681, allocations: 6.978 MB / 1.377 GB, free: 62.91 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002949/3.684, allocations: 2.182 MB / 1.379 GB, free: 60.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007967/3.684, allocations: 0.6801 MB / 1.379 GB, free: 60.02 MB / 0.8262 GB Notification: Performance of Backend: time 5.81e-07/3.684, allocations: 3.656 kB / 1.379 GB, free: 60.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02135/3.706, allocations: 7.432 MB / 1.387 GB, free: 53.5 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00666/3.712, allocations: 6.874 MB / 1.393 GB, free: 46.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.348/4.06, allocations: 143.6 MB / 1.534 GB, free: 371.5 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)