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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.00154/0.00154, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.16/1.16, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001516/0.001516, allocations: 107.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1549/0.1549, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.542e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07348/0.07352, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.43/7.504, allocations: 3.679 GB / 4.075 GB, free: 100.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/7.504, allocations: 83.67 kB / 4.076 GB, free: 100.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491/12.99, allocations: 1.447 GB / 5.522 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/12.99, allocations: 0 / 5.522 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001696/13, allocations: 66.22 kB / 5.523 GB, free: 8.91 MB / 0.5105 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.02759/13.02, allocations: 7.277 MB / 5.53 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/13.02, allocations: 8.031 kB / 5.53 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/13.02, allocations: 280.9 kB / 5.53 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/13.03, allocations: 1.628 MB / 5.532 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/13.03, allocations: 151.5 kB / 5.532 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/13.03, allocations: 180 kB / 5.532 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005557/13.03, allocations: 3.07 MB / 5.535 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/13.03, allocations: 3.938 kB / 5.535 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/13.04, allocations: 75.97 kB / 5.535 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/13.04, allocations: 195.7 kB / 5.535 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005929/13.04, allocations: 3.377 MB / 5.538 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4527/13.49, allocations: 11.6 MB / 5.55 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/13.5, allocations: 1.562 MB / 5.551 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/13.5, allocations: 1.004 MB / 5.552 GB, free: 27.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/13.5, allocations: 1.748 MB / 5.554 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/13.5, allocations: 53.27 kB / 5.554 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001975/13.5, allocations: 318.3 kB / 5.554 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 5.992e-06/13.5, allocations: 0 / 5.554 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.02312/13.52, allocations: 6.964 MB / 5.561 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/13.52, allocations: 204 kB / 5.561 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/13.53, allocations: 1.429 MB / 5.563 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002901/13.53, allocations: 58.55 kB / 5.563 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000661/13.53, allocations: 1.013 MB / 5.564 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000604/13.53, allocations: 0.5934 MB / 5.564 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/13.53, allocations: 45.56 kB / 5.564 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000129/13.53, allocations: 401.8 kB / 5.565 GB, free: 23.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/13.53, allocations: 1.093 MB / 5.566 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/13.53, allocations: 1.635 MB / 5.567 GB, free: 23.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/13.54, allocations: 1.383 MB / 5.569 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/13.54, allocations: 7.375 kB / 5.569 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008287/13.54, allocations: 3.813 MB / 5.572 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001076/13.54, allocations: 5.932 MB / 5.578 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/13.54, allocations: 15.66 kB / 5.578 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/13.55, allocations: 1.217 MB / 5.579 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/13.55, allocations: 0.5412 MB / 5.58 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/13.56, allocations: 2.023 MB / 5.582 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/13.56, allocations: 209.7 kB / 5.582 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005718/13.56, allocations: 181.4 kB / 5.582 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/13.56, allocations: 3.156 kB / 5.582 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008144/13.57, allocations: 3.557 MB / 5.586 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/13.57, allocations: 13.97 kB / 5.586 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/13.57, allocations: 0.8697 MB / 5.587 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/13.58, allocations: 0.5423 MB / 5.587 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/13.58, allocations: 1.797 MB / 5.589 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/13.58, allocations: 196.8 kB / 5.589 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007694/13.58, allocations: 177.8 kB / 5.589 GB, free: 14.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 267 * 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,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.001262/13.58, allocations: 236.1 kB / 5.59 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008747/13.59, allocations: 204.6 kB / 5.59 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/13.59, allocations: 3.799 MB / 5.593 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/13.59, allocations: 17.31 kB / 5.593 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/13.59, allocations: 2.906 kB / 5.593 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/13.59, allocations: 8.531 kB / 5.593 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/13.61, allocations: 5.763 MB / 5.599 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/13.61, allocations: 2.688 kB / 5.599 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/13.61, allocations: 338.7 kB / 5.599 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005297/13.61, allocations: 1.078 MB / 5.601 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/13.61, allocations: 72.67 kB / 5.601 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/13.62, allocations: 1.94 MB / 5.602 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/13.62, allocations: 6.609 kB / 5.602 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008565/13.63, allocations: 4.418 MB / 5.607 GB, free: 27.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/13.63, allocations: 310.2 kB / 5.607 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008673/13.63, allocations: 49.98 kB / 5.607 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/13.63, allocations: 152.6 kB / 5.607 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/13.63, allocations: 145.4 kB / 5.607 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004012/13.63, allocations: 116.2 kB / 5.608 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002461/13.63, allocations: 1.096 MB / 5.609 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.202e-06/13.63, allocations: 0 / 5.609 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01362/13.65, allocations: 3.165 MB / 5.612 GB, free: 27.33 MB / 0.5417 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 () * 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.01293/13.66, allocations: 4.228 MB / 5.616 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0102/13.67, allocations: 4.606 MB / 5.62 GB, free: 26.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/13.67, allocations: 0 / 5.62 GB, free: 26.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/13.67, allocations: 1.267 MB / 5.622 GB, free: 26.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005664/13.68, allocations: 1.032 MB / 5.623 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/13.69, allocations: 3.879 MB / 5.626 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/13.69, allocations: 1.727 MB / 5.628 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006618/13.7, allocations: 1.358 MB / 5.629 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/13.7, allocations: 234.4 kB / 5.63 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.132e-06/13.7, allocations: 2.844 kB / 5.63 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.1516/13.85, allocations: 109.3 MB / 5.736 GB, free: 11.44 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (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)