Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.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.Book.SimpleExamples.Volume.TestSplitter3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8295/0.8295, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 12.52 kB / 237.7 MB, free: 1.848 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05111/0.05146, allocations: 31.35 MB / 269.1 MB, free: 7.121 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.Book.SimpleExamples.Volume.TestSplitter3): time 1.615/1.666, allocations: 296.9 MB / 0.5527 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4933/2.16, allocations: 188 MB / 0.7363 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/2.16, allocations: 17.38 kB / 0.7363 GB, free: 1.676 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Splitter3.mo:46:3-47: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/Splitter3.mo:48:3-49:73:writable] Warning: Connector Cs3 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/Splitter3.mo:50:3-51: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/Splitter3.mo:52:3-53: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/BoundaryConditions/SourceQ.mo:62:3-63: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/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/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/SinkP.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). Notification: Performance of NFTyping.typeComponents: time 0.0003074/2.161, allocations: 125.5 kB / 0.7364 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000597/2.161, allocations: 313.2 kB / 0.7367 GB, free: 1.676 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.02811/2.189, allocations: 11.66 MB / 0.7481 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001241/2.191, allocations: 1.176 MB / 0.7493 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/2.191, allocations: 0.6718 MB / 0.7499 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/2.192, allocations: 485.6 kB / 0.7504 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/2.192, allocations: 0.5438 MB / 0.7509 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/2.192, allocations: 120.9 kB / 0.751 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03607/2.228, allocations: 20.22 MB / 0.7708 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004214/2.229, allocations: 262.2 kB / 0.771 GB, free: 256 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/2.23, allocations: 0.5754 MB / 0.7716 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02776/2.258, allocations: 10.81 MB / 0.7821 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/2.258, allocations: 0 / 0.7821 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/2.258, allocations: 0.9688 kB / 0.7821 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.451e-05/2.258, allocations: 0 / 0.7821 GB, free: 12.67 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.00599/2.264, allocations: 2.412 MB / 0.7845 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.264, allocations: 10.28 kB / 0.7845 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/2.264, allocations: 127.6 kB / 0.7846 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/2.265, allocations: 0.5407 MB / 0.7852 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/2.265, allocations: 88.5 kB / 0.7852 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/2.265, allocations: 113.6 kB / 0.7853 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/2.266, allocations: 1.192 MB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/2.266, allocations: 5.906 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/2.266, allocations: 51.97 kB / 0.7866 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/2.266, allocations: 31.47 kB / 0.7866 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/2.268, allocations: 0.7835 MB / 0.7874 GB, free: 10.21 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.00595/2.274, allocations: 7.929 MB / 0.7951 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/2.274, allocations: 235.6 kB / 0.7953 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/2.274, allocations: 131 kB / 0.7955 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9324/3.207, allocations: 330.5 MB / 1.118 GB, free: 167.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/3.207, allocations: 38.06 kB / 1.118 GB, free: 167.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 4.168e-06/3.207, allocations: 0 / 1.118 GB, free: 167.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.002696/3.209, allocations: 1.006 MB / 1.119 GB, free: 166.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/3.21, allocations: 51.41 kB / 1.119 GB, free: 166.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/3.21, allocations: 0.6032 MB / 1.12 GB, free: 166 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/3.21, allocations: 29.64 kB / 1.12 GB, free: 165.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/3.211, allocations: 0.5297 MB / 1.12 GB, free: 165.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/3.211, allocations: 114.1 kB / 1.121 GB, free: 165.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/3.211, allocations: 167.8 kB / 1.121 GB, free: 165.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/3.211, allocations: 364.4 kB / 1.121 GB, free: 165 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/3.211, allocations: 175.5 kB / 1.121 GB, free: 164.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/3.212, allocations: 497.5 kB / 1.122 GB, free: 164.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/3.213, allocations: 0.6876 MB / 1.122 GB, free: 163.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/3.213, allocations: 8 kB / 1.122 GB, free: 163.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001861/3.214, allocations: 0.9343 MB / 1.123 GB, free: 163.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/3.215, allocations: 15.56 kB / 1.123 GB, free: 163.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/3.215, allocations: 8 kB / 1.123 GB, free: 163 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009701/3.216, allocations: 232.2 kB / 1.124 GB, free: 162.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/3.216, allocations: 128.2 kB / 1.124 GB, free: 162.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/3.217, allocations: 1.796 MB / 1.125 GB, free: 161 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/3.217, allocations: 97.83 kB / 1.126 GB, free: 160.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/3.218, allocations: 43.95 kB / 1.126 GB, free: 160.9 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 23 (splitter3.Cs3.ftype,splitter3.Cs2.ftype,splitter3.Cs1.ftype,sourceP1.C.ftype,splitter3.fluids[1],singularPressureLoss3.fluid,sinkP2.fluid,sinkP3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP4.fluid,sourceP1.fluid1,splitter3.fluid1,splitter3.Cs2.diff_on_2,splitter3.Cs2.diff_on_1,singularPressureLoss5.C2.diff_on_1,splitter3.Cs1.diff_on_2,splitter3.Cs1.diff_on_1,singularPressureLoss4.C2.diff_on_1,splitter3.Ce.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,splitter3.Cs3.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003601/3.218, allocations: 244.3 kB / 1.126 GB, free: 160.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/3.218, allocations: 63.25 kB / 1.126 GB, free: 160.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/3.219, allocations: 0.5971 MB / 1.126 GB, free: 160.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/3.219, allocations: 0 / 1.126 GB, free: 160.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/3.219, allocations: 0 / 1.126 GB, free: 160.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/3.22, allocations: 170.1 kB / 1.127 GB, free: 160 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/3.22, allocations: 3.75 kB / 1.127 GB, free: 160 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/3.22, allocations: 11.06 kB / 1.127 GB, free: 160 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/3.22, allocations: 40.88 kB / 1.127 GB, free: 160 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009935/3.221, allocations: 0.5057 MB / 1.127 GB, free: 159.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006321/3.222, allocations: 0.6153 MB / 1.128 GB, free: 159 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001516/3.222, allocations: 106.2 kB / 1.128 GB, free: 159 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004447/3.222, allocations: 401.5 kB / 1.128 GB, free: 158.7 MB / 0.8419 GB Notification: Performance of Backend: time 6.41e-07/3.222, allocations: 0.7656 kB / 1.128 GB, free: 158.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01457/3.237, allocations: 3.801 MB / 1.132 GB, free: 155.8 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002169/3.239, allocations: 1.885 MB / 1.134 GB, free: 154 MB / 0.8419 GB Notification: Performance of Templates: time 0.07852/3.318, allocations: 76.37 MB / 1.208 GB, free: 77.72 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe 2>&1)