Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 15.98 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.137/9.258, allocations: 3.633 GB / 4.112 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/9.258, allocations: 89.34 kB / 4.112 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.808/16.07, allocations: 1.464 GB / 5.576 GB, free: 31.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.586e-06/16.07, allocations: 0 / 5.576 GB, free: 31.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004476/16.07, allocations: 68.22 kB / 5.576 GB, free: 31.76 MB / 0.5886 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.042/16.11, allocations: 7.54 MB / 5.584 GB, free: 27.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/16.11, allocations: 15.05 kB / 5.584 GB, free: 27.91 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002016/16.11, allocations: 287 kB / 5.584 GB, free: 27.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/16.11, allocations: 285.4 kB / 5.584 GB, free: 27.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005985/16.12, allocations: 1.575 MB / 5.586 GB, free: 27.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/16.12, allocations: 151.4 kB / 5.586 GB, free: 27.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/16.12, allocations: 182.5 kB / 5.586 GB, free: 27.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008705/16.13, allocations: 3.16 MB / 5.589 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-05/16.13, allocations: 3.188 kB / 5.589 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007049/16.13, allocations: 83.22 kB / 5.589 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/16.13, allocations: 182 kB / 5.589 GB, free: 27.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007584/16.14, allocations: 3.527 MB / 5.593 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/16.17, allocations: 12.17 MB / 5.605 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/16.17, allocations: 1.804 MB / 5.607 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/16.17, allocations: 1.68 MB / 5.608 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.386e-05/16.17, allocations: 57.53 kB / 5.608 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002891/16.18, allocations: 366.1 kB / 5.609 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 1.487e-05/16.18, allocations: 0 / 5.609 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.04055/16.22, allocations: 9.504 MB / 5.618 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/16.22, allocations: 203.7 kB / 5.618 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006398/16.22, allocations: 1.799 MB / 5.62 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009207/16.23, allocations: 69.7 kB / 5.62 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/16.23, allocations: 0.9602 MB / 5.621 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/16.23, allocations: 0.594 MB / 5.621 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006399/16.23, allocations: 42.25 kB / 5.621 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000301/16.23, allocations: 389.1 kB / 5.622 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/16.23, allocations: 1.316 MB / 5.623 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00387/16.24, allocations: 1.665 MB / 5.625 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/16.24, allocations: 1.563 MB / 5.626 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/16.24, allocations: 3.531 kB / 5.626 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01314/16.25, allocations: 4.272 MB / 5.63 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009329/16.25, allocations: 3.053 MB / 5.633 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/16.25, allocations: 7.094 kB / 5.633 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007887/16.26, allocations: 1.33 MB / 5.635 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/16.27, allocations: 0.4991 MB / 5.635 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/16.27, allocations: 2.139 MB / 5.637 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/16.28, allocations: 196.2 kB / 5.638 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/16.28, allocations: 165.7 kB / 5.638 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/16.28, allocations: 3.375 kB / 5.638 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/16.29, allocations: 3.618 MB / 5.641 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.914e-05/16.29, allocations: 7.625 kB / 5.641 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005778/16.3, allocations: 0.9665 MB / 5.642 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/16.3, allocations: 0.5067 MB / 5.643 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/16.3, allocations: 1.933 MB / 5.645 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/16.31, allocations: 186.9 kB / 5.645 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000852/16.31, allocations: 162.6 kB / 5.645 GB, free: 12.01 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (250): * Single equations (assignments): 246 * 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.00288/16.31, allocations: 0.6393 MB / 5.646 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/16.31, allocations: 232 kB / 5.646 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/16.32, allocations: 4.219 MB / 5.65 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/16.32, allocations: 22.19 kB / 5.65 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/16.32, allocations: 0 / 5.65 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.682e-05/16.32, allocations: 9.047 kB / 5.65 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/16.34, allocations: 6.097 MB / 5.656 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/16.34, allocations: 3.25 kB / 5.656 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/16.34, allocations: 334.8 kB / 5.656 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006445/16.35, allocations: 1.181 MB / 5.657 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/16.35, allocations: 75.33 kB / 5.657 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/16.35, allocations: 2.056 MB / 5.659 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/16.35, allocations: 11.75 kB / 5.659 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/16.36, allocations: 5.098 MB / 5.664 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/16.36, allocations: 360.3 kB / 5.665 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/16.37, allocations: 50.09 kB / 5.665 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/16.37, allocations: 160.9 kB / 5.665 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/16.37, allocations: 144.4 kB / 5.665 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006022/16.37, allocations: 137.5 kB / 5.665 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003787/16.37, allocations: 1.416 MB / 5.667 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.92e-07/16.37, allocations: 0 / 5.667 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01698/16.39, allocations: 3.24 MB / 5.67 GB, free: 7.992 MB / 0.5886 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.02762/16.42, allocations: 10.81 MB / 5.68 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01392/16.43, allocations: 5.092 MB / 5.685 GB, free: 18.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/16.43, allocations: 5.094 kB / 5.685 GB, free: 18.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/16.44, allocations: 1.45 MB / 5.687 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007489/16.44, allocations: 1.262 MB / 5.688 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/16.47, allocations: 12.89 MB / 5.701 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/16.47, allocations: 1.718 MB / 5.702 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.007277/16.48, allocations: 1.224 MB / 5.703 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/16.48, allocations: 0.9736 MB / 5.704 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/16.48, allocations: 0 / 5.704 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.86/17.34, allocations: 137.9 MB / 5.839 GB, free: 37.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/17.34, allocations: 276.5 kB / 5.839 GB, free: 37.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/25.47, allocations: 2.562 kB / 5.839 GB, free: 37.44 MB / 0.6198 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1)