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.8194/0.8194, allocations: 150.9 MB / 167.2 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 18.97 kB / 237.8 MB, free: 1.879 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05246/0.05286, allocations: 31.34 MB / 269.1 MB, free: 7.195 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.612/1.665, allocations: 296.8 MB / 0.5527 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4887/2.154, allocations: 188 MB / 0.7363 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/2.154, allocations: 13.88 kB / 0.7363 GB, free: 1.785 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.0002874/2.154, allocations: 122.9 kB / 0.7364 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005879/2.155, allocations: 292.8 kB / 0.7367 GB, free: 1.785 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.02895/2.184, allocations: 11.85 MB / 0.7482 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001123/2.185, allocations: 1.087 MB / 0.7493 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/2.186, allocations: 0.6406 MB / 0.7499 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/2.186, allocations: 464.3 kB / 0.7504 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/2.186, allocations: 0.5025 MB / 0.7509 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/2.186, allocations: 110.8 kB / 0.751 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03007/2.217, allocations: 16.83 MB / 0.7674 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/2.217, allocations: 254.7 kB / 0.7677 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008677/2.218, allocations: 0.5399 MB / 0.7682 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02287/2.241, allocations: 9.359 MB / 0.7773 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/2.241, allocations: 0.9062 kB / 0.7773 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/2.241, allocations: 0 / 0.7773 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.933e-05/2.241, allocations: 0.9062 kB / 0.7773 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.005268/2.246, allocations: 2.259 MB / 0.7795 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/2.246, allocations: 7.938 kB / 0.7795 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/2.246, allocations: 123.6 kB / 0.7797 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/2.247, allocations: 0.5099 MB / 0.7802 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/2.247, allocations: 88.02 kB / 0.7802 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/2.247, allocations: 107.2 kB / 0.7803 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/2.249, allocations: 1.173 MB / 0.7815 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/2.249, allocations: 9.266 kB / 0.7815 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/2.249, allocations: 48.88 kB / 0.7815 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/2.249, allocations: 28.69 kB / 0.7816 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/2.25, allocations: 0.7083 MB / 0.7823 GB, free: 11.36 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.07935/2.329, allocations: 39.02 MB / 0.8204 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/2.33, allocations: 241.4 kB / 0.8206 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/2.33, allocations: 140.4 kB / 0.8207 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6988/3.029, allocations: 207.3 MB / 1.023 GB, free: 241.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/3.029, allocations: 39.12 kB / 1.023 GB, free: 241.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/3.029, allocations: 0 / 1.023 GB, free: 241.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.002382/3.032, allocations: 0.9054 MB / 1.024 GB, free: 241.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/3.032, allocations: 54.28 kB / 1.024 GB, free: 241.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/3.032, allocations: 0.5602 MB / 1.025 GB, free: 241.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/3.032, allocations: 31.73 kB / 1.025 GB, free: 241.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/3.033, allocations: 0.5252 MB / 1.025 GB, free: 241.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/3.033, allocations: 118 kB / 1.025 GB, free: 241 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/3.033, allocations: 166.6 kB / 1.026 GB, free: 241 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/3.033, allocations: 362.6 kB / 1.026 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/3.033, allocations: 176.9 kB / 1.026 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/3.034, allocations: 0.5117 MB / 1.027 GB, free: 240.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/3.035, allocations: 0.7303 MB / 1.027 GB, free: 239.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/3.035, allocations: 5.875 kB / 1.027 GB, free: 239.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001652/3.036, allocations: 0.8889 MB / 1.028 GB, free: 239.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/3.036, allocations: 11 kB / 1.028 GB, free: 239.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/3.036, allocations: 12.09 kB / 1.028 GB, free: 239.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/3.037, allocations: 181.9 kB / 1.028 GB, free: 239.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/3.038, allocations: 142.5 kB / 1.028 GB, free: 239.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/3.039, allocations: 2.814 MB / 1.031 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/3.04, allocations: 92.55 kB / 1.031 GB, free: 237.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/3.04, allocations: 43.14 kB / 1.031 GB, free: 237.3 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.0003053/3.04, allocations: 250.8 kB / 1.032 GB, free: 237.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/3.04, allocations: 60.34 kB / 1.032 GB, free: 237.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/3.041, allocations: 0.5306 MB / 1.032 GB, free: 237 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/3.041, allocations: 3.594 kB / 1.032 GB, free: 237 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/3.041, allocations: 2.562 kB / 1.032 GB, free: 237 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/3.042, allocations: 167 kB / 1.032 GB, free: 236.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/3.042, allocations: 5.031 kB / 1.032 GB, free: 236.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/3.042, allocations: 6.875 kB / 1.032 GB, free: 236.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/3.042, allocations: 37.44 kB / 1.032 GB, free: 236.9 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001004/3.043, allocations: 0.499 MB / 1.033 GB, free: 236.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006159/3.044, allocations: 0.6222 MB / 1.033 GB, free: 236.5 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001606/3.044, allocations: 110.6 kB / 1.034 GB, free: 236.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003382/3.044, allocations: 363.8 kB / 1.034 GB, free: 236.4 MB / 0.8419 GB Notification: Performance of Backend: time 7.22e-07/3.044, allocations: 0 / 1.034 GB, free: 236.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01244/3.057, allocations: 3.45 MB / 1.037 GB, free: 236.1 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002079/3.059, allocations: 1.817 MB / 1.039 GB, free: 235 MB / 0.8419 GB Notification: Performance of Templates: time 0.07003/3.129, allocations: 68.16 MB / 1.106 GB, free: 191.4 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)