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.833/0.833, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.339e-05/1.348e-05, allocations: 0 / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1709, allocations: 31.97 MB / 236.8 MB, free: 5.398 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. 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.642/1.813, allocations: 295.7 MB / 0.52 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.52/2.333, allocations: 186.8 MB / 0.7023 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/2.334, allocations: 14.53 kB / 0.7024 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002479/2.334, allocations: 80.98 kB / 0.7024 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008047/2.335, allocations: 282.7 kB / 0.7027 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02855/2.364, allocations: 9.123 MB / 0.7116 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001689/2.365, allocations: 1.123 MB / 0.7127 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/2.366, allocations: 0.5591 MB / 0.7133 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/2.367, allocations: 381.8 kB / 0.7136 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/2.367, allocations: 442.6 kB / 0.714 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/2.367, allocations: 48.25 kB / 0.7141 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03701/2.404, allocations: 20.25 MB / 0.7339 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/2.404, allocations: 181.1 kB / 0.734 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000805/2.405, allocations: 0.5025 MB / 0.7345 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02771/2.433, allocations: 10.62 MB / 0.7449 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/2.433, allocations: 1.562 kB / 0.7449 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.614e-06/2.433, allocations: 0 / 0.7449 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.581e-05/2.433, allocations: 0 / 0.7449 GB, free: 15.28 MB / 0.5919 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.006316/2.439, allocations: 2.201 MB / 0.7471 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.439, allocations: 9.344 kB / 0.7471 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/2.44, allocations: 124.9 kB / 0.7472 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/2.44, allocations: 0.5104 MB / 0.7477 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/2.44, allocations: 88.66 kB / 0.7478 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/2.441, allocations: 116 kB / 0.7479 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/2.442, allocations: 1.193 MB / 0.749 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/2.442, allocations: 3.469 kB / 0.749 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/2.442, allocations: 59.67 kB / 0.7491 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/2.442, allocations: 27.81 kB / 0.7491 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/2.444, allocations: 0.7888 MB / 0.7499 GB, free: 12.86 MB / 0.5919 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.006262/2.45, allocations: 7.93 MB / 0.7576 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/2.45, allocations: 227.1 kB / 0.7579 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/2.45, allocations: 132.3 kB / 0.758 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9841/3.435, allocations: 331.3 MB / 1.082 GB, free: 153.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/3.435, allocations: 31.12 kB / 1.082 GB, free: 153.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=29): time 2.395e-06/3.435, allocations: 0 / 1.082 GB, free: 153.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29): time 0.002674/3.437, allocations: 1.028 MB / 1.083 GB, free: 152.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/3.437, allocations: 59.41 kB / 1.083 GB, free: 152.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/3.438, allocations: 0.5971 MB / 1.083 GB, free: 152.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/3.438, allocations: 35.64 kB / 1.083 GB, free: 152.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/3.438, allocations: 0.533 MB / 1.084 GB, free: 151.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/3.439, allocations: 109.2 kB / 1.084 GB, free: 151.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/3.439, allocations: 80.3 kB / 1.084 GB, free: 151.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/3.439, allocations: 373.3 kB / 1.084 GB, free: 151.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/3.439, allocations: 170.1 kB / 1.084 GB, free: 151.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/3.439, allocations: 0.4894 MB / 1.085 GB, free: 150.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/3.44, allocations: 0.6867 MB / 1.086 GB, free: 150.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/3.44, allocations: 4 kB / 1.086 GB, free: 150.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001815/3.442, allocations: 0.9377 MB / 1.087 GB, free: 149.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/3.442, allocations: 12 kB / 1.087 GB, free: 149.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/3.442, allocations: 8 kB / 1.087 GB, free: 149.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009129/3.443, allocations: 239.6 kB / 1.087 GB, free: 149.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/3.443, allocations: 122.6 kB / 1.087 GB, free: 149.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/3.444, allocations: 1.8 MB / 1.089 GB, free: 147.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/3.445, allocations: 130.2 kB / 1.089 GB, free: 147.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/3.445, allocations: 44.05 kB / 1.089 GB, free: 147.3 MB / 0.8106 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.0003316/3.446, allocations: 231.3 kB / 1.089 GB, free: 147.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/3.446, allocations: 63.33 kB / 1.089 GB, free: 147 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/3.447, allocations: 0.5901 MB / 1.09 GB, free: 146.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/3.447, allocations: 8 kB / 1.09 GB, free: 146.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/3.447, allocations: 0 / 1.09 GB, free: 146.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/3.447, allocations: 4.547 kB / 1.09 GB, free: 146.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008063/3.455, allocations: 5.729 MB / 1.095 GB, free: 140.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/3.455, allocations: 0 / 1.095 GB, free: 140.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/3.455, allocations: 27.98 kB / 1.095 GB, free: 140.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007414/3.456, allocations: 205 kB / 1.096 GB, free: 140.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/3.456, allocations: 19.42 kB / 1.096 GB, free: 140.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008346/3.457, allocations: 1.757 MB / 1.097 GB, free: 138.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/3.457, allocations: 4.031 kB / 1.097 GB, free: 138.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/3.458, allocations: 0.6039 MB / 1.098 GB, free: 138.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/3.458, allocations: 168.9 kB / 1.098 GB, free: 137.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/3.458, allocations: 18.36 kB / 1.098 GB, free: 137.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/3.458, allocations: 30.97 kB / 1.098 GB, free: 137.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/3.458, allocations: 24.06 kB / 1.098 GB, free: 137.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/3.458, allocations: 12 kB / 1.098 GB, free: 137.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004238/3.459, allocations: 400.6 kB / 1.098 GB, free: 137.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/3.459, allocations: 3.875 kB / 1.098 GB, free: 137.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004052/3.463, allocations: 1.602 MB / 1.1 GB, free: 136.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.007324/3.47, allocations: 2.252 MB / 1.102 GB, free: 134.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001062/3.471, allocations: 461 kB / 1.103 GB, free: 134.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/3.471, allocations: 1.859 kB / 1.103 GB, free: 134.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/3.472, allocations: 154.2 kB / 1.103 GB, free: 134 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/3.473, allocations: 162.2 kB / 1.103 GB, free: 133.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/3.475, allocations: 1.619 MB / 1.105 GB, free: 132.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/3.475, allocations: 0.9638 MB / 1.105 GB, free: 131.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004013/3.476, allocations: 97.09 kB / 1.106 GB, free: 131.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/3.476, allocations: 56.67 kB / 1.106 GB, free: 131.2 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/3.476, allocations: 0 / 1.106 GB, free: 131.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.06294/3.539, allocations: 49.89 MB / 1.154 GB, free: 81.55 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: