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.8424/0.8424, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 20.77 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05796/0.0584, allocations: 31.34 MB / 269.1 MB, free: 7.055 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.765, allocations: 296.6 MB / 0.5525 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4946/2.259, allocations: 187.9 MB / 0.7359 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/2.26, allocations: 17.69 kB / 0.736 GB, free: 1.719 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.0002621/2.26, allocations: 97.58 kB / 0.736 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004763/2.26, allocations: 286.1 kB / 0.7363 GB, free: 1.715 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.02708/2.287, allocations: 11.82 MB / 0.7479 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009664/2.288, allocations: 0.9922 MB / 0.7488 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/2.289, allocations: 0.5741 MB / 0.7494 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/2.289, allocations: 414.5 kB / 0.7498 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/2.29, allocations: 469.1 kB / 0.7502 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/2.29, allocations: 97.56 kB / 0.7503 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03207/2.322, allocations: 20.2 MB / 0.7701 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/2.322, allocations: 217.6 kB / 0.7703 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/2.323, allocations: 494.1 kB / 0.7707 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02655/2.349, allocations: 10.55 MB / 0.781 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/2.349, allocations: 0 / 0.781 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.973e-06/2.349, allocations: 0.8438 kB / 0.781 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.268e-05/2.349, allocations: 1.203 kB / 0.781 GB, free: 12.74 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.005732/2.355, allocations: 2.346 MB / 0.7833 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/2.355, allocations: 9.688 kB / 0.7833 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/2.355, allocations: 114.3 kB / 0.7835 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/2.356, allocations: 0.5021 MB / 0.7839 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/2.356, allocations: 104.7 kB / 0.784 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/2.356, allocations: 90.25 kB / 0.7841 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/2.358, allocations: 0.9755 MB / 0.7851 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/2.358, allocations: 7.453 kB / 0.7851 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/2.358, allocations: 42 kB / 0.7851 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/2.358, allocations: 26.59 kB / 0.7852 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/2.359, allocations: 0.6303 MB / 0.7858 GB, free: 10.38 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.01202/2.371, allocations: 10.43 MB / 0.796 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/2.372, allocations: 234.7 kB / 0.7962 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/2.372, allocations: 102.6 kB / 0.7963 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4578/2.83, allocations: 220.3 MB / 1.011 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/2.83, allocations: 34.56 kB / 1.011 GB, free: 376 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/2.83, allocations: 0 / 1.011 GB, free: 376 kB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.1938/3.024, allocations: 0.9213 MB / 1.012 GB, free: 464.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/3.024, allocations: 57.5 kB / 1.012 GB, free: 464.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/3.024, allocations: 0.5348 MB / 1.013 GB, free: 464.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/3.024, allocations: 33.8 kB / 1.013 GB, free: 464 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/3.025, allocations: 494.4 kB / 1.013 GB, free: 463.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/3.025, allocations: 96.33 kB / 1.014 GB, free: 463.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/3.025, allocations: 151.8 kB / 1.014 GB, free: 463.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/3.025, allocations: 356.5 kB / 1.014 GB, free: 463.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/3.025, allocations: 133.8 kB / 1.014 GB, free: 463.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/3.026, allocations: 456.1 kB / 1.015 GB, free: 463 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/3.026, allocations: 0.6142 MB / 1.015 GB, free: 462.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/3.026, allocations: 7.562 kB / 1.015 GB, free: 462.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001623/3.028, allocations: 0.7929 MB / 1.016 GB, free: 462.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/3.028, allocations: 12.28 kB / 1.016 GB, free: 462.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/3.028, allocations: 11.86 kB / 1.016 GB, free: 462.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/3.03, allocations: 346 kB / 1.016 GB, free: 462.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/3.03, allocations: 101.6 kB / 1.016 GB, free: 462.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/3.031, allocations: 1.819 MB / 1.018 GB, free: 460.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/3.031, allocations: 91.92 kB / 1.018 GB, free: 460.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/3.032, allocations: 37.06 kB / 1.018 GB, free: 460.9 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.0002889/3.032, allocations: 229.6 kB / 1.019 GB, free: 460.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/3.032, allocations: 58.02 kB / 1.019 GB, free: 460.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/3.033, allocations: 481.6 kB / 1.019 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/3.033, allocations: 4.453 kB / 1.019 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/3.033, allocations: 3.125 kB / 1.019 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/3.033, allocations: 158.2 kB / 1.019 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/3.033, allocations: 7.719 kB / 1.019 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/3.033, allocations: 9.25 kB / 1.019 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/3.033, allocations: 27.88 kB / 1.019 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00093/3.034, allocations: 468.4 kB / 1.02 GB, free: 460.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006077/3.035, allocations: 0.5414 MB / 1.02 GB, free: 460.2 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001544/3.035, allocations: 82.3 kB / 1.02 GB, free: 460.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003711/3.036, allocations: 342.2 kB / 1.021 GB, free: 460.1 MB / 0.8419 GB Notification: Performance of Backend: time 5.31e-07/3.036, allocations: 0 / 1.021 GB, free: 460.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01344/3.049, allocations: 3.793 MB / 1.024 GB, free: 460 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001983/3.051, allocations: 1.787 MB / 1.026 GB, free: 458.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.07583/3.127, allocations: 75.83 MB / 1.1 GB, free: 404.2 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)