Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.Volume.TestSplitter3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.8081/0.8081, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002677, allocations: 15.98 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 31.33 MB / 236 MB, free: 3.879 MB / 186.7 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.Examples.Book.SimpleExamples.Volume.TestSplitter3): time 1.609/1.774, allocations: 293.1 MB / 0.5167 GB, free: 8.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04729/1.821, allocations: 37.85 MB / 0.5537 GB, free: 3.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/1.821, allocations: 4 kB / 0.5537 GB, free: 3.094 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Splitter3.mo:15:3-17:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Splitter3.mo:18:3-19:83:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Splitter3.mo:20:3-21:82:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Splitter3.mo:22:3-24:17:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005458/1.822, allocations: 125.4 kB / 0.5538 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/1.822, allocations: 170.7 kB / 0.554 GB, free: 2.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02208/1.844, allocations: 7.23 MB / 0.561 GB, free: 11.58 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/1.846, allocations: 0.7037 MB / 0.5617 GB, free: 10.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/1.846, allocations: 298.2 kB / 0.562 GB, free: 10.58 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/1.846, allocations: 270.9 kB / 0.5623 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/1.847, allocations: 262.7 kB / 0.5625 GB, free: 10.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/1.847, allocations: 39.94 kB / 0.5626 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0297/1.876, allocations: 17.75 MB / 0.5799 GB, free: 8.238 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/1.877, allocations: 103.5 kB / 0.58 GB, free: 8.137 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/1.877, allocations: 298.4 kB / 0.5803 GB, free: 7.844 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02222/1.899, allocations: 8.799 MB / 0.5889 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.899, allocations: 0 / 0.5889 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.899, allocations: 0 / 0.5889 GB, free: 15.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/1.899, allocations: 0 / 0.5889 GB, free: 15.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004469/1.904, allocations: 1.736 MB / 0.5906 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.904, allocations: 12.03 kB / 0.5906 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/1.904, allocations: 75.08 kB / 0.5906 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/1.904, allocations: 314.3 kB / 0.5909 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/1.904, allocations: 45.31 kB / 0.591 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/1.904, allocations: 55.94 kB / 0.591 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/1.905, allocations: 0.6708 MB / 0.5917 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.905, allocations: 7.938 kB / 0.5917 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/1.905, allocations: 24 kB / 0.5917 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/1.905, allocations: 23.98 kB / 0.5918 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/1.906, allocations: 407.9 kB / 0.5921 GB, free: 11.52 MB / 490.7 MB 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.02129/1.927, allocations: 12.23 MB / 0.6041 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/1.927, allocations: 217.5 kB / 0.6043 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/1.928, allocations: 162.2 kB / 0.6044 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1558/2.084, allocations: 77.28 MB / 0.6799 GB, free: 7.586 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/2.084, allocations: 50.5 kB / 0.68 GB, free: 7.527 MB / 0.573 GB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/2.084, allocations: 0 / 0.68 GB, free: 7.527 MB / 0.573 GB Notification: Performance of matching and sorting (n=66): time 0.001917/2.086, allocations: 0.9219 MB / 0.6809 GB, free: 6.535 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/2.086, allocations: 55.39 kB / 0.6809 GB, free: 6.469 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/2.086, allocations: 373.5 kB / 0.6813 GB, free: 6.094 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/2.086, allocations: 29.64 kB / 0.6813 GB, free: 6.059 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/2.086, allocations: 248.6 kB / 0.6815 GB, free: 5.812 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/2.086, allocations: 220.7 kB / 0.6818 GB, free: 5.594 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/2.086, allocations: 97.58 kB / 0.6818 GB, free: 5.492 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001211/2.087, allocations: 354.8 kB / 0.6822 GB, free: 5.137 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/2.087, allocations: 121 kB / 0.6823 GB, free: 5.02 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/2.087, allocations: 246.8 kB / 0.6825 GB, free: 4.734 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/2.088, allocations: 413.6 kB / 0.6829 GB, free: 4.289 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/2.088, allocations: 3.938 kB / 0.6829 GB, free: 4.285 MB / 0.573 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009735/2.089, allocations: 0.5759 MB / 0.6835 GB, free: 3.691 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/2.089, allocations: 8 kB / 0.6835 GB, free: 3.684 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/2.089, allocations: 4 kB / 0.6835 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/2.089, allocations: 344 kB / 0.6838 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/2.09, allocations: 67.89 kB / 0.6839 GB, free: 3.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/2.091, allocations: 1.831 MB / 0.6857 GB, free: 1.363 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/2.091, allocations: 59.22 kB / 0.6857 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/2.091, allocations: 16 kB / 0.6858 GB, free: 1.289 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 14 (sinkP4.C.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,sinkP3.C.a,sinkP2.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,sourceP1.C.b,splitter3.Cs2.b,splitter3.Cs1.b,splitter3.Cs3.b,splitter3.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001955/2.091, allocations: 179.3 kB / 0.6859 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/2.091, allocations: 51.36 kB / 0.686 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1661/2.258, allocations: 1.206 MB / 0.6872 GB, free: 221.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008401/2.258, allocations: 0.6254 MB / 0.6878 GB, free: 221.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/2.258, allocations: 1.062 kB / 0.6878 GB, free: 221.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.258, allocations: 4.047 kB / 0.6878 GB, free: 221.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/2.261, allocations: 1.901 MB / 0.6896 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/2.261, allocations: 4.25 kB / 0.6896 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/2.261, allocations: 75.7 kB / 0.6897 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/2.262, allocations: 368.4 kB / 0.6901 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/2.262, allocations: 13.94 kB / 0.6901 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007981/2.263, allocations: 1.879 MB / 0.6919 GB, free: 219.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/2.263, allocations: 5.469 kB / 0.6919 GB, free: 219.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/2.264, allocations: 1.76 MB / 0.6936 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/2.264, allocations: 174.6 kB / 0.6938 GB, free: 218.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/2.264, allocations: 25.08 kB / 0.6938 GB, free: 218.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/2.265, allocations: 19.98 kB / 0.6938 GB, free: 218.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/2.265, allocations: 49.66 kB / 0.6939 GB, free: 218.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/2.265, allocations: 21.91 kB / 0.6939 GB, free: 218.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003485/2.265, allocations: 345.3 kB / 0.6942 GB, free: 218.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/2.265, allocations: 0 / 0.6942 GB, free: 218.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003195/2.268, allocations: 1.321 MB / 0.6955 GB, free: 218.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * 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), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004733/2.273, allocations: 1.8 MB / 0.6973 GB, free: 218.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009716/2.274, allocations: 0.6336 MB / 0.6979 GB, free: 218 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/2.274, allocations: 2.781 kB / 0.6979 GB, free: 218 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/2.274, allocations: 294.7 kB / 0.6982 GB, free: 218 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/2.276, allocations: 250.5 kB / 0.6984 GB, free: 218 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/2.278, allocations: 1.905 MB / 0.7003 GB, free: 216.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/2.278, allocations: 0.9513 MB / 0.7012 GB, free: 216.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002177/2.278, allocations: 58.84 kB / 0.7013 GB, free: 216.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/2.278, allocations: 38.09 kB / 0.7013 GB, free: 216.2 MB / 0.573 GB Notification: Performance of SimCode: time 3.31e-07/2.278, allocations: 0 / 0.7013 GB, free: 216.2 MB / 0.573 GB Notification: Performance of Templates: time 0.05132/2.33, allocations: 47.91 MB / 0.7481 GB, free: 187 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe 2>&1)