Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.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.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 21.58 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05967/0.06006, allocations: 31.34 MB / 269.1 MB, free: 7.059 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.TestJunctions4): time 1.706/1.766, allocations: 296.4 MB / 0.5523 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5385/2.304, allocations: 187.9 MB / 0.7358 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/2.305, allocations: 17.47 kB / 0.7358 GB, free: 1.738 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/DeheaterMixer2.mo:43:3-44:74:writable] Warning: Connector Ce_mix 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/DeheaterMixer2.mo:45:3-46:64: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/DeheaterMixer2.mo:48:3-49:66: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/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/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/BoundaryConditions/SinkQ.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/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/Source.mo:53:3-54:52: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.0002656/2.305, allocations: 102.6 kB / 0.7359 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005248/2.305, allocations: 284.5 kB / 0.7362 GB, free: 1.734 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.03153/2.337, allocations: 11.6 MB / 0.7475 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0013/2.338, allocations: 0.993 MB / 0.7485 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/2.339, allocations: 0.5776 MB / 0.749 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/2.339, allocations: 418.8 kB / 0.7494 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/2.34, allocations: 463.5 kB / 0.7499 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/2.34, allocations: 97 kB / 0.75 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03484/2.374, allocations: 20.2 MB / 0.7697 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/2.375, allocations: 215.9 kB / 0.7699 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007478/2.376, allocations: 495.8 kB / 0.7704 GB, free: 428 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02829/2.404, allocations: 10.52 MB / 0.7806 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/2.404, allocations: 3.125 kB / 0.7806 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/2.404, allocations: 1.094 kB / 0.7806 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.36e-05/2.404, allocations: 0.875 kB / 0.7806 GB, free: 12.8 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005977/2.41, allocations: 2.261 MB / 0.7829 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/2.41, allocations: 10.78 kB / 0.7829 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/2.41, allocations: 110.5 kB / 0.783 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/2.411, allocations: 0.4962 MB / 0.7835 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/2.411, allocations: 100 kB / 0.7836 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/2.411, allocations: 93.56 kB / 0.7836 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/2.413, allocations: 0.9693 MB / 0.7846 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/2.413, allocations: 6.109 kB / 0.7846 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/2.413, allocations: 43.44 kB / 0.7846 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/2.413, allocations: 25.23 kB / 0.7847 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/2.414, allocations: 0.6372 MB / 0.7853 GB, free: 10.54 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.01211/2.426, allocations: 10.43 MB / 0.7955 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/2.426, allocations: 230.5 kB / 0.7957 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/2.426, allocations: 108.4 kB / 0.7958 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4723/2.899, allocations: 220.3 MB / 1.011 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/2.899, allocations: 34.56 kB / 1.011 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 3.437e-06/2.899, allocations: 0 / 1.011 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.1928/3.092, allocations: 0.918 MB / 1.012 GB, free: 464.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/3.092, allocations: 54.38 kB / 1.012 GB, free: 464.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/3.093, allocations: 0.5311 MB / 1.012 GB, free: 464.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/3.093, allocations: 31.05 kB / 1.012 GB, free: 464.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/3.093, allocations: 475.9 kB / 1.013 GB, free: 464.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/3.093, allocations: 102.7 kB / 1.013 GB, free: 464.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/3.093, allocations: 150.3 kB / 1.013 GB, free: 464.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/3.093, allocations: 359 kB / 1.013 GB, free: 463.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/3.094, allocations: 129.6 kB / 1.014 GB, free: 463.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/3.094, allocations: 456.2 kB / 1.014 GB, free: 463.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/3.095, allocations: 0.6133 MB / 1.015 GB, free: 463 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/3.095, allocations: 5.906 kB / 1.015 GB, free: 463 MB / 0.8419 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001705/3.096, allocations: 0.7876 MB / 1.015 GB, free: 462.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/3.096, allocations: 11.56 kB / 1.015 GB, free: 462.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/3.096, allocations: 12.22 kB / 1.015 GB, free: 462.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/3.098, allocations: 355.9 kB / 1.016 GB, free: 462.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/3.098, allocations: 97.38 kB / 1.016 GB, free: 462.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/3.1, allocations: 1.821 MB / 1.018 GB, free: 461.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/3.1, allocations: 89.64 kB / 1.018 GB, free: 461.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/3.1, allocations: 35.56 kB / 1.018 GB, free: 461.3 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 20 (source.fluid1,sourceP.fluid1,source.C.ftype,sourceP.C.ftype,deheaterMixer2_1.Cs.ftype,deheaterMixer2_1.fluids[1],singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,sinkP.fluid,deheaterMixer2_1.fluid1,singularPressureLoss2.C2.diff_on_1,singularPressureLoss.C2.diff_on_1,deheaterMixer2_1.Cs.diff_on_2,deheaterMixer2_1.Ce_mix.diff_on_2,source.C.diff_on_2,deheaterMixer2_1.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,deheaterMixer2_1.Ce.diff_on_2,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/3.1, allocations: 228.3 kB / 1.018 GB, free: 461.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/3.1, allocations: 56.09 kB / 1.018 GB, free: 461.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/3.102, allocations: 479.6 kB / 1.018 GB, free: 461 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/3.102, allocations: 3.938 kB / 1.018 GB, free: 461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/3.102, allocations: 2.594 kB / 1.018 GB, free: 461 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/3.102, allocations: 151.5 kB / 1.019 GB, free: 460.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/3.102, allocations: 16.03 kB / 1.019 GB, free: 460.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/3.102, allocations: 8.25 kB / 1.019 GB, free: 460.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/3.102, allocations: 22.19 kB / 1.019 GB, free: 460.9 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009799/3.103, allocations: 463.6 kB / 1.019 GB, free: 460.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006093/3.104, allocations: 0.5426 MB / 1.02 GB, free: 460.5 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001538/3.104, allocations: 80.08 kB / 1.02 GB, free: 460.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003737/3.104, allocations: 345.5 kB / 1.02 GB, free: 460.4 MB / 0.8419 GB Notification: Performance of Backend: time 6.41e-07/3.104, allocations: 1.188 kB / 1.02 GB, free: 460.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01549/3.12, allocations: 3.76 MB / 1.024 GB, free: 460.3 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002111/3.122, allocations: 1.746 MB / 1.025 GB, free: 459.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.07685/3.199, allocations: 75.85 MB / 1.099 GB, free: 404.7 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.pipe 2>&1)