Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008818, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005355/0.005355, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.322/0.322, allocations: 38.03 MB / 308.8 MB, free: 10.31 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005395, allocations: 20 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 57.51 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.8353/0.9597, allocations: 333.7 MB / 0.7502 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03355/0.9933, allocations: 26.84 MB / 0.7764 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.9969, allocations: 70.06 kB / 0.7765 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003215/1, allocations: 0.9478 MB / 0.7774 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.023/1.023, allocations: 7.12 MB / 0.7844 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02169/1.045, allocations: 7.967 MB / 0.7922 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0111/1.056, allocations: 9.095 MB / 0.801 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/1.059, allocations: 1.712 MB / 0.8027 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009358/1.069, allocations: 3.82 MB / 0.8064 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005657/1.074, allocations: 2.865 MB / 0.8092 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000896/1.075, allocations: 140 kB / 0.8094 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0357/1.111, allocations: 18.48 MB / 0.8274 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002688/1.114, allocations: 1.077 MB / 0.8285 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002392/1.116, allocations: 1.374 MB / 0.8298 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03458/1.151, allocations: 12.92 MB / 0.8424 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.151, allocations: 0 / 0.8424 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.705e-06/1.151, allocations: 4 kB / 0.8424 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.966e-05/1.151, allocations: 0 / 0.8424 GB, free: 15.41 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01326/1.164, allocations: 4.434 MB / 0.8468 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.164, allocations: 8.031 kB / 0.8468 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/1.165, allocations: 281.8 kB / 0.847 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/1.168, allocations: 1.46 MB / 0.8485 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/1.168, allocations: 149.3 kB / 0.8486 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/1.168, allocations: 185.2 kB / 0.8488 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/1.173, allocations: 3.185 MB / 0.8519 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/1.173, allocations: 7.938 kB / 0.8519 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/1.173, allocations: 79.09 kB / 0.852 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/1.174, allocations: 195.6 kB / 0.8522 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005936/1.18, allocations: 3.575 MB / 0.8557 GB, free: 1.805 MB / 0.5762 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.216/1.396, allocations: 12.64 MB / 0.868 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/1.398, allocations: 1.839 MB / 0.8698 GB, free: 233 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/1.4, allocations: 1.173 MB / 0.8709 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/1.402, allocations: 3.313 MB / 0.8742 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/1.402, allocations: 65.78 kB / 0.8742 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/1.404, allocations: 348.5 kB / 0.8746 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.867e-06/1.404, allocations: 0 / 0.8746 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=169): time 0.02469/1.428, allocations: 9.224 MB / 0.8836 GB, free: 226 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/1.429, allocations: 201.5 kB / 0.8838 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/1.431, allocations: 2.027 MB / 0.8858 GB, free: 225 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/1.432, allocations: 62.77 kB / 0.8858 GB, free: 225 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/1.432, allocations: 0.9791 MB / 0.8868 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/1.433, allocations: 0.5871 MB / 0.8873 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/1.433, allocations: 181.3 kB / 0.8875 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/1.433, allocations: 301.1 kB / 0.8878 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/1.435, allocations: 1.369 MB / 0.8891 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/1.438, allocations: 1.753 MB / 0.8909 GB, free: 222 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/1.442, allocations: 3.074 MB / 0.8939 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.442, allocations: 3.125 kB / 0.8939 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.00941/1.452, allocations: 4.27 MB / 0.898 GB, free: 219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/1.452, allocations: 413.5 kB / 0.8984 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/1.452, allocations: 10.19 kB / 0.8984 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007561/1.46, allocations: 1.344 MB / 0.8997 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/1.462, allocations: 0.513 MB / 0.9002 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/1.466, allocations: 2.132 MB / 0.9023 GB, free: 216.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/1.469, allocations: 192.4 kB / 0.9025 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/1.469, allocations: 172.8 kB / 0.9027 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.469, allocations: 4.469 kB / 0.9027 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01036/1.48, allocations: 3.897 MB / 0.9065 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/1.48, allocations: 8.438 kB / 0.9065 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005402/1.485, allocations: 0.9895 MB / 0.9075 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/1.488, allocations: 0.5168 MB / 0.908 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/1.491, allocations: 1.94 MB / 0.9099 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.494, allocations: 177 kB / 0.91 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006503/1.495, allocations: 168.3 kB / 0.9102 GB, free: 213.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,6), (4,15)} Notification: Performance of prepare postOptimizeDAE: time 0.001714/1.497, allocations: 0.6433 MB / 0.9108 GB, free: 213.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007891/1.497, allocations: 223.1 kB / 0.911 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009124/1.506, allocations: 4.266 MB / 0.9152 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.506, allocations: 24.31 kB / 0.9152 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.506, allocations: 0 / 0.9152 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/1.507, allocations: 9.703 kB / 0.9152 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.517, allocations: 6.072 MB / 0.9212 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.517, allocations: 7.781 kB / 0.9212 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.518, allocations: 342.5 kB / 0.9215 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005601/1.524, allocations: 1.181 MB / 0.9226 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003419/1.524, allocations: 73.89 kB / 0.9227 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/1.526, allocations: 2.059 MB / 0.9247 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.527, allocations: 11.97 kB / 0.9247 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008103/1.535, allocations: 4.877 MB / 0.9295 GB, free: 205 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009224/1.536, allocations: 367.2 kB / 0.9299 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/1.536, allocations: 43.67 kB / 0.9299 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.539, allocations: 162.5 kB / 0.93 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/1.539, allocations: 155.6 kB / 0.9302 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/1.539, allocations: 132 kB / 0.9303 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002355/1.542, allocations: 1.424 MB / 0.9317 GB, free: 203.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.542, allocations: 3.938 kB / 0.9317 GB, free: 203.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009201/1.551, allocations: 2.843 MB / 0.9345 GB, free: 202.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,6), (4,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00748/1.558, allocations: 2.623 MB / 0.9371 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.569, allocations: 5.192 MB / 0.9421 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.569, allocations: 7.219 kB / 0.9421 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/1.571, allocations: 1.502 MB / 0.9436 GB, free: 193.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007895/1.579, allocations: 1.295 MB / 0.9449 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/1.587, allocations: 5.657 MB / 0.9504 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.588, allocations: 1.67 MB / 0.952 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005128/1.593, allocations: 1.287 MB / 0.9533 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.594, allocations: 271.3 kB / 0.9535 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.594, allocations: 0 / 0.9535 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1127/1.707, allocations: 94.9 MB / 1.046 GB, free: 88.64 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) Environment - environmentSimulation: