Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.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.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8353/0.8353, allocations: 150.9 MB / 167.2 MB, free: 14.29 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 22.11 kB / 237.8 MB, free: 1.812 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05332/0.05369, 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.TestRefP): time 1.687/1.741, allocations: 297.1 MB / 0.553 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5383/2.28, allocations: 195.8 MB / 0.7442 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/2.28, allocations: 9.969 kB / 0.7442 GB, free: 0.6836 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefP.mo:10:3-11: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/BoundaryConditions/RefP.mo:12:3-13: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/Machines/StaticCentrifugalPump.mo:63:3-64: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/Machines/StaticCentrifugalPump.mo:65:3-66: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/LoopBreakers/LoopBreakerQ.mo:5:3-6: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/LoopBreakers/LoopBreakerQ.mo:7:3-8: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/LoopBreakers/LoopBreakerH.mo:5:3-6: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/LoopBreakers/LoopBreakerH.mo:7:3-8: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/RefT.mo:19:3-20: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/BoundaryConditions/RefT.mo:21:3-22: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/PressureLosses/LumpedStraightPipe.mo:54:3-55: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/PressureLosses/LumpedStraightPipe.mo:56:3-57: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/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 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/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 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/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 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.0003883/2.281, allocations: 127.7 kB / 0.7443 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007458/2.281, allocations: 311.1 kB / 0.7446 GB, free: 0.6758 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.03507/2.317, allocations: 13.99 MB / 0.7583 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001713/2.318, allocations: 1.238 MB / 0.7595 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/2.319, allocations: 0.6735 MB / 0.7601 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/2.32, allocations: 0.4901 MB / 0.7606 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/2.32, allocations: 0.5535 MB / 0.7612 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/2.32, allocations: 123.6 kB / 0.7613 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0444/2.365, allocations: 22.8 MB / 0.7836 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005064/2.365, allocations: 281.8 kB / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/2.366, allocations: 0.5934 MB / 0.7844 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03131/2.398, allocations: 12.12 MB / 0.7962 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/2.398, allocations: 0 / 0.7962 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/2.398, allocations: 0 / 0.7962 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.314e-05/2.398, allocations: 0 / 0.7962 GB, free: 7.176 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.007183/2.405, allocations: 2.749 MB / 0.7989 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/2.405, allocations: 7.75 kB / 0.7989 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/2.405, allocations: 133.5 kB / 0.7991 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/2.406, allocations: 0.5173 MB / 0.7996 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/2.406, allocations: 92.02 kB / 0.7996 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/2.406, allocations: 121.6 kB / 0.7998 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/2.408, allocations: 1.198 MB / 0.8009 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/2.408, allocations: 6.156 kB / 0.8009 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.161e-05/2.408, allocations: 51.94 kB / 0.801 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/2.408, allocations: 32 kB / 0.801 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/2.41, allocations: 0.8554 MB / 0.8019 GB, free: 2.566 MB / 0.6075 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.02643/2.436, allocations: 15.6 MB / 0.8171 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/2.437, allocations: 325.3 kB / 0.8174 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/2.437, allocations: 111.4 kB / 0.8175 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8887/3.326, allocations: 285.7 MB / 1.096 GB, free: 400.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/3.326, allocations: 41.44 kB / 1.097 GB, free: 400.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/3.326, allocations: 0 / 1.097 GB, free: 400.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.005852/3.332, allocations: 1.201 MB / 1.098 GB, free: 399.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/3.332, allocations: 55.41 kB / 1.098 GB, free: 399.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/3.333, allocations: 0.5744 MB / 1.098 GB, free: 399.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/3.333, allocations: 29.64 kB / 1.098 GB, free: 399.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/3.333, allocations: 0.5465 MB / 1.099 GB, free: 398.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/3.333, allocations: 106.2 kB / 1.099 GB, free: 398.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/3.333, allocations: 172.7 kB / 1.099 GB, free: 398.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/3.333, allocations: 364.1 kB / 1.099 GB, free: 398.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/3.333, allocations: 144.5 kB / 1.1 GB, free: 398.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/3.334, allocations: 480.4 kB / 1.1 GB, free: 397.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/3.335, allocations: 0.6541 MB / 1.101 GB, free: 396.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/3.335, allocations: 4 kB / 1.101 GB, free: 396.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002289/3.337, allocations: 0.9173 MB / 1.102 GB, free: 396.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/3.337, allocations: 13.5 kB / 1.102 GB, free: 396.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.337, allocations: 12 kB / 1.102 GB, free: 396.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/3.338, allocations: 289.2 kB / 1.102 GB, free: 396 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/3.339, allocations: 118.7 kB / 1.102 GB, free: 395.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006776/3.339, allocations: 0.778 MB / 1.103 GB, free: 395.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/3.34, allocations: 94.62 kB / 1.103 GB, free: 395.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/3.34, allocations: 39.62 kB / 1.103 GB, free: 395 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 16 (volumeA.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce2.ftype,volumeA.fluids[1],pump.fluid,refT.fluid,lumpedStraightPipe.fluid,volumeA.Cs2.diff_on_1,volumeA.Cs1.diff_on_1,lumpedStraightPipe.C2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,refT.C1.diff_on_2,volumeA.Cs2.diff_on_2,volumeA.Ce2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {(3,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000317/3.34, allocations: 253 kB / 1.103 GB, free: 394.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/3.34, allocations: 60.06 kB / 1.103 GB, free: 394.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/3.341, allocations: 490.8 kB / 1.104 GB, free: 394.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/3.341, allocations: 12.48 kB / 1.104 GB, free: 394.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/3.341, allocations: 0 / 1.104 GB, free: 394.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/3.342, allocations: 164 kB / 1.104 GB, free: 394.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/3.342, allocations: 13.06 kB / 1.104 GB, free: 394.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/3.342, allocations: 7.984 kB / 1.104 GB, free: 394.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/3.342, allocations: 15.92 kB / 1.104 GB, free: 394.2 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001229/3.343, allocations: 483.7 kB / 1.104 GB, free: 393.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000649/3.344, allocations: 0.5641 MB / 1.105 GB, free: 393.4 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001562/3.344, allocations: 91.95 kB / 1.105 GB, free: 393.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003346/3.344, allocations: 368 kB / 1.105 GB, free: 393 MB / 0.8419 GB Notification: Performance of Backend: time 9.51e-07/3.344, allocations: 0 / 1.105 GB, free: 393 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01771/3.362, allocations: 4.493 MB / 1.11 GB, free: 389.6 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002535/3.365, allocations: 1.91 MB / 1.112 GB, free: 387.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.1313/3.496, allocations: 83.9 MB / 1.194 GB, free: 304.6 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe 2>&1)