Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.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.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8221/0.8221, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 21.7 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05312/0.05348, allocations: 31.36 MB / 269.1 MB, free: 7.027 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.TestLoopBreaker): time 1.689/1.742, allocations: 296.7 MB / 0.5525 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5266/2.269, allocations: 188 MB / 0.7361 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/2.27, allocations: 17.19 kB / 0.7361 GB, free: 1.742 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/SingularPressureLoss.mo:29:3-30: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/SingularPressureLoss.mo:27:3-28: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/SingularPressureLoss.mo:29:3-30: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/Junctions/Splitter2.mo:42:3-43:67:writable] Warning: Connector Ce 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/Junctions/Splitter2.mo:44:3-45:72: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/Junctions/Splitter2.mo:46:3-47:74:writable] Warning: Connector Cs2 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/Junctions/Mixer2.mo:42:3-43:68: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/Junctions/Mixer2.mo:44:3-45:65:writable] Warning: Connector Cs 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/Junctions/Mixer2.mo:47:3-48:66: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/BoundaryConditions/Sink.mo:39:3-40: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/LoopBreakers/LoopBreakerP.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/LoopBreakerP.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). Notification: Performance of NFTyping.typeComponents: time 0.000267/2.27, allocations: 120.5 kB / 0.7362 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004965/2.27, allocations: 294.3 kB / 0.7365 GB, free: 1.742 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.02974/2.3, allocations: 11.63 MB / 0.7479 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001053/2.301, allocations: 1.081 MB / 0.7489 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/2.302, allocations: 0.6508 MB / 0.7496 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/2.302, allocations: 460.6 kB / 0.75 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/2.302, allocations: 0.5019 MB / 0.7505 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/2.303, allocations: 109.9 kB / 0.7506 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02968/2.332, allocations: 16.84 MB / 0.7671 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/2.333, allocations: 251.6 kB / 0.7673 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007514/2.333, allocations: 0.5373 MB / 0.7678 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02336/2.357, allocations: 9.343 MB / 0.7769 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/2.357, allocations: 0.9375 kB / 0.7769 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/2.357, allocations: 0 / 0.7769 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.997e-05/2.357, allocations: 3.375 kB / 0.777 GB, free: 13.78 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005404/2.362, allocations: 2.183 MB / 0.7791 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/2.362, allocations: 8.5 kB / 0.7791 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/2.363, allocations: 121.5 kB / 0.7792 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/2.363, allocations: 0.5061 MB / 0.7797 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/2.363, allocations: 81.83 kB / 0.7798 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/2.363, allocations: 110.2 kB / 0.7799 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/2.365, allocations: 1.168 MB / 0.781 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/2.365, allocations: 7.656 kB / 0.781 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/2.365, allocations: 48.53 kB / 0.7811 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/2.365, allocations: 30.44 kB / 0.7811 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/2.366, allocations: 0.7073 MB / 0.7818 GB, free: 11.45 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.07863/2.445, allocations: 39.01 MB / 0.8199 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/2.445, allocations: 250.3 kB / 0.8201 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/2.446, allocations: 136.6 kB / 0.8203 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7183/3.164, allocations: 207.3 MB / 1.023 GB, free: 242.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/3.164, allocations: 40.31 kB / 1.023 GB, free: 242.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.785e-06/3.164, allocations: 0 / 1.023 GB, free: 242.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.00244/3.166, allocations: 0.904 MB / 1.024 GB, free: 241.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/3.167, allocations: 54.97 kB / 1.024 GB, free: 241.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/3.167, allocations: 0.5596 MB / 1.024 GB, free: 241.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/3.167, allocations: 30.73 kB / 1.024 GB, free: 241.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/3.168, allocations: 0.5156 MB / 1.025 GB, free: 241.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/3.168, allocations: 106.4 kB / 1.025 GB, free: 241.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/3.168, allocations: 169.9 kB / 1.025 GB, free: 241.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/3.168, allocations: 361.6 kB / 1.025 GB, free: 241 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/3.168, allocations: 173.6 kB / 1.026 GB, free: 241 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/3.169, allocations: 0.5096 MB / 1.026 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/3.17, allocations: 0.7292 MB / 1.027 GB, free: 240.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/3.17, allocations: 5.359 kB / 1.027 GB, free: 240.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001648/3.171, allocations: 0.8879 MB / 1.028 GB, free: 240 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/3.171, allocations: 12.12 kB / 1.028 GB, free: 240 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/3.171, allocations: 11.31 kB / 1.028 GB, free: 240 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/3.172, allocations: 182.4 kB / 1.028 GB, free: 240 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/3.173, allocations: 143.1 kB / 1.028 GB, free: 240 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/3.174, allocations: 2.808 MB / 1.031 GB, free: 237.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/3.175, allocations: 99.77 kB / 1.031 GB, free: 237.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/3.175, allocations: 40.58 kB / 1.031 GB, free: 237.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 22 (splitter2_1.Cs2.ftype,mixer2_1.Cs.ftype,splitter2_1.Cs1.ftype,mixer2_1.fluids[1],sourcePQ.C.ftype,splitter2_1.fluids[1],singularPressureLoss1.fluid,singularPressureLoss2.fluid,sink.fluid,mixer2_1.fluid1,splitter2_1.fluid1,sourcePQ.fluid1,mixer2_1.Ce2.diff_on_2,splitter2_1.Cs2.diff_on_2,splitter2_1.Cs2.diff_on_1,loopBreakerP.C2.diff_on_1,mixer2_1.Cs.diff_on_1,mixer2_1.Ce1.diff_on_2,splitter2_1.Cs1.diff_on_2,splitter2_1.Cs1.diff_on_1,mixer2_1.Ce1.diff_on_1,splitter2_1.Ce.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000331/3.175, allocations: 252.8 kB / 1.031 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/3.175, allocations: 55.59 kB / 1.031 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/3.176, allocations: 0.5271 MB / 1.032 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/3.176, allocations: 4.297 kB / 1.032 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/3.176, allocations: 1.156 kB / 1.032 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/3.177, allocations: 164.7 kB / 1.032 GB, free: 237.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/3.177, allocations: 8.875 kB / 1.032 GB, free: 237.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/3.177, allocations: 4.719 kB / 1.032 GB, free: 237.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/3.177, allocations: 37.84 kB / 1.032 GB, free: 237.2 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001077/3.178, allocations: 0.4949 MB / 1.032 GB, free: 237 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006427/3.179, allocations: 0.6136 MB / 1.033 GB, free: 236.8 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001642/3.179, allocations: 119.4 kB / 1.033 GB, free: 236.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003403/3.179, allocations: 358.2 kB / 1.033 GB, free: 236.7 MB / 0.8419 GB Notification: Performance of Backend: time 1.062e-06/3.179, allocations: 0 / 1.033 GB, free: 236.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0131/3.192, allocations: 3.421 MB / 1.037 GB, free: 236.4 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002116/3.194, allocations: 1.788 MB / 1.038 GB, free: 235.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.07181/3.266, allocations: 68.15 MB / 1.105 GB, free: 191.9 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe 2>&1)