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.005406/0.005406, allocations: 165.3 kB / 15.11 MB, free: 5.582 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.539/1.539, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001576/0.001576, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.3692/0.3692, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003891, allocations: 8 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.33/10.45, allocations: 3.679 GB / 4.081 GB, free: 103.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/10.45, allocations: 90.09 kB / 4.081 GB, free: 103.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.075/17.52, allocations: 1.45 GB / 5.531 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.667e-06/17.52, allocations: 0 / 5.531 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002565/17.52, allocations: 63.92 kB / 5.531 GB, free: 6.543 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.04675/17.57, allocations: 7.537 MB / 5.538 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/17.57, allocations: 8.031 kB / 5.538 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/17.57, allocations: 277 kB / 5.539 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007135/17.58, allocations: 1.635 MB / 5.54 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/17.58, allocations: 151.5 kB / 5.54 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009449/17.58, allocations: 180 kB / 5.541 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00722/17.59, allocations: 3.144 MB / 5.544 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/17.59, allocations: 3.953 kB / 5.544 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/17.59, allocations: 83.91 kB / 5.544 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/17.59, allocations: 187.2 kB / 5.544 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006831/17.6, allocations: 3.513 MB / 5.547 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7465/18.34, allocations: 11.59 MB / 5.559 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/18.35, allocations: 1.622 MB / 5.56 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/18.35, allocations: 1.751 MB / 5.562 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.392e-05/18.35, allocations: 55.33 kB / 5.562 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003293/18.35, allocations: 315.9 kB / 5.562 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 2.351e-05/18.35, allocations: 1.094 kB / 5.562 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.03764/18.39, allocations: 8.966 MB / 5.571 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/18.39, allocations: 199.1 kB / 5.571 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005662/18.4, allocations: 1.441 MB / 5.573 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008934/18.4, allocations: 60.45 kB / 5.573 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/18.4, allocations: 1.014 MB / 5.574 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/18.4, allocations: 0.5908 MB / 5.574 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005959/18.4, allocations: 45.34 kB / 5.574 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003349/18.4, allocations: 400.9 kB / 5.575 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/18.41, allocations: 1.188 MB / 5.576 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/18.41, allocations: 1.727 MB / 5.578 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/18.41, allocations: 1.471 MB / 5.579 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/18.41, allocations: 6.938 kB / 5.579 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01171/18.43, allocations: 4.044 MB / 5.583 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002995/18.43, allocations: 5.93 MB / 5.589 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-05/18.43, allocations: 15.69 kB / 5.589 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/18.44, allocations: 1.323 MB / 5.59 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/18.44, allocations: 0.5418 MB / 5.591 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/18.45, allocations: 2.144 MB / 5.593 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/18.46, allocations: 208.5 kB / 5.593 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/18.46, allocations: 181.5 kB / 5.593 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/18.46, allocations: 5.812 kB / 5.593 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0155/18.47, allocations: 3.777 MB / 5.597 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/18.47, allocations: 16.47 kB / 5.597 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006468/18.48, allocations: 0.9589 MB / 5.598 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/18.48, allocations: 0.55 MB / 5.598 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/18.49, allocations: 1.906 MB / 5.6 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00527/18.49, allocations: 197.2 kB / 5.6 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/18.5, allocations: 178.6 kB / 5.6 GB, free: 28.66 MB / 0.5417 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 () * Number of clocked 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.003687/18.5, allocations: 0.6459 MB / 5.601 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/18.5, allocations: 208.3 kB / 5.601 GB, free: 28.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/18.51, allocations: 4.015 MB / 5.605 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/18.51, allocations: 20.22 kB / 5.605 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/18.51, allocations: 0 / 5.605 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/18.51, allocations: 11.06 kB / 5.605 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/18.53, allocations: 5.652 MB / 5.611 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/18.53, allocations: 5.891 kB / 5.611 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/18.53, allocations: 345.3 kB / 5.611 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006541/18.54, allocations: 1.175 MB / 5.612 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004892/18.54, allocations: 78.67 kB / 5.612 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/18.54, allocations: 2.042 MB / 5.614 GB, free: 26.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/18.54, allocations: 11.08 kB / 5.614 GB, free: 26.56 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/18.55, allocations: 4.728 MB / 5.619 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/18.56, allocations: 314.3 kB / 5.619 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/18.56, allocations: 41.83 kB / 5.619 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003185/18.56, allocations: 163.7 kB / 5.619 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004706/18.56, allocations: 140.5 kB / 5.62 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004849/18.56, allocations: 120.8 kB / 5.62 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003265/18.56, allocations: 1.107 MB / 5.621 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/18.56, allocations: 3.188 kB / 5.621 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02184/18.59, allocations: 3.165 MB / 5.624 GB, free: 25.43 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 () * 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.02228/18.61, allocations: 4.234 MB / 5.628 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01637/18.63, allocations: 4.827 MB / 5.633 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-05/18.63, allocations: 3.438 kB / 5.633 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/18.63, allocations: 1.359 MB / 5.634 GB, free: 24.63 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007691/18.64, allocations: 1.018 MB / 5.635 GB, free: 24.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/18.65, allocations: 5.599 MB / 5.64 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/18.65, allocations: 1.71 MB / 5.642 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006393/18.66, allocations: 1.221 MB / 5.643 GB, free: 21.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/18.66, allocations: 256.3 kB / 5.644 GB, free: 21.73 MB / 0.5417 GB Notification: Performance of SimCode: time 2.495e-06/18.66, allocations: 3.25 kB / 5.644 GB, free: 21.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.184/18.84, allocations: 100.9 MB / 5.742 GB, free: 13.85 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)