Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001056/0.001057, allocations: 96.78 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.01114/0.01114, allocations: 169.4 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.865/1.865, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3854/0.3854, allocations: 40 MB / 310.7 MB, free: 9.574 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.2. 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.0005995/0.0005997, allocations: 20 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1421, allocations: 57.95 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.166/1.308, allocations: 333.7 MB / 0.753 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03979/1.348, allocations: 26.83 MB / 0.7792 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/1.352, allocations: 73.12 kB / 0.7793 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004239/1.356, allocations: 0.9498 MB / 0.7802 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02986/1.386, allocations: 7.125 MB / 0.7872 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.03029/1.417, allocations: 7.965 MB / 0.7949 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01402/1.431, allocations: 9.097 MB / 0.8038 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/1.435, allocations: 1.712 MB / 0.8055 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/1.447, allocations: 3.823 MB / 0.8092 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007464/1.454, allocations: 2.851 MB / 0.812 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00128/1.456, allocations: 144 kB / 0.8122 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04441/1.5, allocations: 18.48 MB / 0.8302 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.503, allocations: 1.075 MB / 0.8313 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002938/1.506, allocations: 1.37 MB / 0.8326 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04333/1.549, allocations: 12.92 MB / 0.8452 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.549, allocations: 0 / 0.8452 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/1.549, allocations: 0 / 0.8452 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000111/1.549, allocations: 0 / 0.8452 GB, free: 11.19 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.01397/1.563, allocations: 4.424 MB / 0.8495 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.563, allocations: 12.03 kB / 0.8495 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.565, allocations: 284.9 kB / 0.8498 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/1.567, allocations: 1.463 MB / 0.8512 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/1.568, allocations: 151.5 kB / 0.8514 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/1.568, allocations: 179.9 kB / 0.8516 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/1.573, allocations: 3.193 MB / 0.8547 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/1.573, allocations: 0 / 0.8547 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/1.573, allocations: 83.95 kB / 0.8548 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/1.574, allocations: 193.7 kB / 0.8549 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.309/1.883, allocations: 3.567 MB / 0.8584 GB, free: 237.6 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.02102/1.904, allocations: 12.65 MB / 0.8708 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/1.907, allocations: 1.837 MB / 0.8726 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/1.908, allocations: 1.178 MB / 0.8737 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002642/1.911, allocations: 3.321 MB / 0.877 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/1.911, allocations: 53.25 kB / 0.877 GB, free: 227 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002251/1.913, allocations: 347.4 kB / 0.8773 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 4.618e-06/1.913, allocations: 0 / 0.8773 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=169): time 0.02574/1.939, allocations: 9.23 MB / 0.8864 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/1.939, allocations: 198.9 kB / 0.8866 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/1.942, allocations: 2.027 MB / 0.8885 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/1.942, allocations: 61.61 kB / 0.8886 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/1.943, allocations: 0.9754 MB / 0.8895 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/1.943, allocations: 0.5884 MB / 0.8901 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/1.944, allocations: 178.9 kB / 0.8903 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/1.944, allocations: 312.1 kB / 0.8906 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.946, allocations: 1.369 MB / 0.8919 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/1.949, allocations: 1.749 MB / 0.8936 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005831/1.955, allocations: 3.073 MB / 0.8966 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.955, allocations: 4.344 kB / 0.8966 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.0109/1.966, allocations: 4.268 MB / 0.9008 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/1.966, allocations: 413.4 kB / 0.9012 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.966, allocations: 9.016 kB / 0.9012 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008148/1.975, allocations: 1.34 MB / 0.9025 GB, free: 216 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/1.978, allocations: 0.5097 MB / 0.903 GB, free: 216 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/1.981, allocations: 2.147 MB / 0.9051 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/1.985, allocations: 191.5 kB / 0.9053 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009442/1.986, allocations: 166 kB / 0.9055 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.986, allocations: 2.844 kB / 0.9055 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01258/1.999, allocations: 3.9 MB / 0.9093 GB, free: 213.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/1.999, allocations: 13.16 kB / 0.9093 GB, free: 213.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005767/2.005, allocations: 0.9888 MB / 0.9102 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/2.007, allocations: 0.5092 MB / 0.9107 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/2.01, allocations: 1.933 MB / 0.9126 GB, free: 211.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/2.014, allocations: 186.3 kB / 0.9128 GB, free: 211.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/2.015, allocations: 172 kB / 0.913 GB, free: 211.5 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.002261/2.017, allocations: 0.6314 MB / 0.9136 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/2.018, allocations: 224.1 kB / 0.9138 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008182/2.026, allocations: 4.273 MB / 0.918 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/2.026, allocations: 19.84 kB / 0.918 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/2.026, allocations: 0 / 0.918 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/2.026, allocations: 7.219 kB / 0.918 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009297/2.036, allocations: 6.067 MB / 0.9239 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/2.036, allocations: 3.938 kB / 0.9239 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/2.037, allocations: 348.1 kB / 0.9243 GB, free: 206.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/2.043, allocations: 1.192 MB / 0.9254 GB, free: 205.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004575/2.043, allocations: 74.42 kB / 0.9255 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/2.045, allocations: 2.056 MB / 0.9275 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/2.046, allocations: 9.812 kB / 0.9275 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009098/2.055, allocations: 4.886 MB / 0.9323 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/2.056, allocations: 362.1 kB / 0.9326 GB, free: 200.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/2.056, allocations: 43.98 kB / 0.9327 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/2.058, allocations: 155.9 kB / 0.9328 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/2.058, allocations: 153.7 kB / 0.933 GB, free: 200.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/2.059, allocations: 135.9 kB / 0.9331 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001772/2.06, allocations: 1.428 MB / 0.9345 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/2.06, allocations: 0 / 0.9345 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009469/2.07, allocations: 2.84 MB / 0.9373 GB, free: 196.3 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.007945/2.078, allocations: 2.625 MB / 0.9398 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01034/2.088, allocations: 5.197 MB / 0.9449 GB, free: 189 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/2.088, allocations: 5.531 kB / 0.9449 GB, free: 189 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002665/2.091, allocations: 1.502 MB / 0.9464 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007572/2.099, allocations: 1.286 MB / 0.9476 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/2.106, allocations: 5.644 MB / 0.9531 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/2.107, allocations: 1.674 MB / 0.9548 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004636/2.111, allocations: 1.302 MB / 0.956 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008824/2.112, allocations: 263.3 kB / 0.9563 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/2.112, allocations: 0 / 0.9563 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1207/2.233, allocations: 94.9 MB / 1.049 GB, free: 82.28 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) Environment - environmentSimulation: