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.0008827/0.0008827, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001106/0.001106, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2799/0.2799, allocations: 39.99 MB / 310.4 MB, free: 9.973 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.000612/0.0006121, allocations: 24 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09881, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.6609/0.7598, allocations: 243.7 MB / 0.6645 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03025/0.7901, allocations: 26.84 MB / 0.6907 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.7923, allocations: 71.62 kB / 0.6908 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.7949, allocations: 0.8729 MB / 0.6916 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.8127, allocations: 6.094 MB / 0.6976 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.8293, allocations: 5.979 MB / 0.7034 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.8351, allocations: 3.304 MB / 0.7066 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.838, allocations: 1.639 MB / 0.7082 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006968/0.845, allocations: 3.126 MB / 0.7113 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/0.8493, allocations: 2.02 MB / 0.7133 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008492/0.8502, allocations: 143.4 kB / 0.7134 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02736/0.8776, allocations: 14.58 MB / 0.7276 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.8798, allocations: 0.9862 MB / 0.7286 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.8813, allocations: 0.512 MB / 0.7291 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01866/0.8999, allocations: 7.741 MB / 0.7367 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.9, allocations: 0 / 0.7367 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9, allocations: 0 / 0.7367 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.987e-05/0.9001, allocations: 0 / 0.7367 GB, free: 2.285 MB / 0.4981 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.01175/0.9118, allocations: 4.241 MB / 0.7408 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.9119, allocations: 13.67 kB / 0.7408 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.9141, allocations: 280.9 kB / 0.7411 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.9178, allocations: 1.407 MB / 0.7424 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.918, allocations: 152.3 kB / 0.7426 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.9185, allocations: 181.3 kB / 0.7428 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/0.9241, allocations: 3.154 MB / 0.7458 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.9242, allocations: 2.625 kB / 0.7458 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.9245, allocations: 87.58 kB / 0.7459 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.9247, allocations: 187.8 kB / 0.7461 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005859/0.9306, allocations: 3.559 MB / 0.7496 GB, free: 7.859 MB / 0.5137 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.02431/0.9549, allocations: 12.76 MB / 0.762 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.9584, allocations: 1.839 MB / 0.7638 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/0.9601, allocations: 1.678 MB / 0.7655 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.883e-05/0.9602, allocations: 63.06 kB / 0.7655 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002205/0.9624, allocations: 338.9 kB / 0.7659 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 5.58e-06/0.9625, allocations: 4 kB / 0.7659 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=169): time 0.02601/0.9885, allocations: 9.187 MB / 0.7748 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.9886, allocations: 209.4 kB / 0.775 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.9913, allocations: 2.011 MB / 0.777 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.9916, allocations: 67.39 kB / 0.7771 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/0.9922, allocations: 0.9704 MB / 0.778 GB, free: 208 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/0.9928, allocations: 0.5839 MB / 0.7786 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.993, allocations: 48.23 kB / 0.7786 GB, free: 15.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9931, allocations: 400.2 kB / 0.779 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.9955, allocations: 1.338 MB / 0.7803 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.9981, allocations: 1.712 MB / 0.782 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/1.001, allocations: 1.59 MB / 0.7835 GB, free: 12.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.001, allocations: 0 / 0.7835 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008617/1.009, allocations: 4.209 MB / 0.7877 GB, free: 9.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.01, allocations: 3.495 MB / 0.7911 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.011, allocations: 10.62 kB / 0.7911 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007035/1.018, allocations: 1.343 MB / 0.7924 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/1.02, allocations: 0.5044 MB / 0.7929 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/1.023, allocations: 2.139 MB / 0.795 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.025, allocations: 189.5 kB / 0.7952 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/1.026, allocations: 171 kB / 0.7953 GB, free: 1.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.026, allocations: 4 kB / 0.7953 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006773/1.032, allocations: 3.625 MB / 0.7989 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/1.033, allocations: 11.98 kB / 0.7989 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/1.037, allocations: 0.9799 MB / 0.7998 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.04, allocations: 0.5167 MB / 0.8003 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/1.042, allocations: 1.937 MB / 0.8022 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/1.045, allocations: 179.2 kB / 0.8024 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.045, allocations: 176.7 kB / 0.8026 GB, free: 11.73 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001223/1.046, allocations: 0.626 MB / 0.8032 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/1.047, allocations: 225.3 kB / 0.8034 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007839/1.055, allocations: 4.27 MB / 0.8076 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/1.055, allocations: 24 kB / 0.8076 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.055, allocations: 0 / 0.8076 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.055, allocations: 7.969 kB / 0.8076 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009888/1.065, allocations: 6.083 MB / 0.8135 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.065, allocations: 4 kB / 0.8135 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.066, allocations: 339.7 kB / 0.8139 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005683/1.072, allocations: 1.187 MB / 0.815 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.072, allocations: 76.64 kB / 0.8151 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/1.075, allocations: 2.05 MB / 0.8171 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.075, allocations: 10.69 kB / 0.8171 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00837/1.083, allocations: 5.139 MB / 0.8221 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.084, allocations: 362.1 kB / 0.8225 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/1.085, allocations: 44 kB / 0.8225 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.087, allocations: 159.8 kB / 0.8227 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.087, allocations: 152.4 kB / 0.8228 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.087, allocations: 127.9 kB / 0.8229 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001942/1.089, allocations: 1.417 MB / 0.8243 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 0.8243 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007604/1.097, allocations: 2.834 MB / 0.8271 GB, free: 7.484 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006298/1.103, allocations: 2.526 MB / 0.8295 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.113, allocations: 5.152 MB / 0.8346 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.113, allocations: 5.281 kB / 0.8346 GB, free: 56 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002863/1.116, allocations: 1.49 MB / 0.836 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005622/1.122, allocations: 1.233 MB / 0.8372 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008143/1.13, allocations: 5.38 MB / 0.8425 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.131, allocations: 1.717 MB / 0.8442 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00463/1.136, allocations: 1.265 MB / 0.8454 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009514/1.137, allocations: 279.3 kB / 0.8457 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.137, allocations: 0 / 0.8457 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of Templates: time 0.2769/1.414, allocations: 91.99 MB / 0.9355 GB, free: 235.7 MB / 0.6075 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: