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.001643/0.001643, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.614/1.614, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008509/0.0008507, allocations: 89.12 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4171/0.4171, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.752e-05/4.768e-05, allocations: 4 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.082/9.222, allocations: 3.633 GB / 4.106 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/9.222, allocations: 83.95 kB / 4.106 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.765/15.99, allocations: 1.462 GB / 5.568 GB, free: 33.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.412e-06/15.99, allocations: 3.5 kB / 5.568 GB, free: 33.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003355/15.99, allocations: 58.48 kB / 5.568 GB, free: 33.21 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.03401/16.02, allocations: 7.284 MB / 5.575 GB, free: 29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/16.02, allocations: 9.031 kB / 5.575 GB, free: 29 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001637/16.02, allocations: 281.5 kB / 5.575 GB, free: 28.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/16.03, allocations: 284.1 kB / 5.575 GB, free: 28.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/16.03, allocations: 1.574 MB / 5.577 GB, free: 28.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/16.03, allocations: 146.3 kB / 5.577 GB, free: 28.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/16.03, allocations: 190.2 kB / 5.577 GB, free: 28.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008154/16.04, allocations: 3.082 MB / 5.58 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/16.04, allocations: 7.344 kB / 5.58 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007148/16.04, allocations: 86.97 kB / 5.58 GB, free: 28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002819/16.04, allocations: 184 kB / 5.581 GB, free: 27.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006441/16.05, allocations: 3.392 MB / 5.584 GB, free: 27.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/16.08, allocations: 12.15 MB / 5.596 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/16.08, allocations: 1.759 MB / 5.597 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/16.08, allocations: 1.114 MB / 5.598 GB, free: 17.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/16.08, allocations: 1.675 MB / 5.6 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/16.08, allocations: 59.88 kB / 5.6 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002662/16.09, allocations: 365.5 kB / 5.601 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 1.232e-05/16.09, allocations: 0 / 5.601 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.02316/16.11, allocations: 7.412 MB / 5.608 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/16.11, allocations: 201.9 kB / 5.608 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/16.11, allocations: 1.774 MB / 5.61 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004439/16.11, allocations: 57.7 kB / 5.61 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/16.11, allocations: 0.9704 MB / 5.611 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/16.12, allocations: 0.5859 MB / 5.611 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/16.12, allocations: 48 kB / 5.611 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001561/16.12, allocations: 393.3 kB / 5.612 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/16.12, allocations: 1.225 MB / 5.613 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/16.12, allocations: 1.571 MB / 5.614 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/16.12, allocations: 1.463 MB / 5.616 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/16.12, allocations: 4 kB / 5.616 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01036/16.13, allocations: 4.041 MB / 5.62 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001544/16.13, allocations: 3.054 MB / 5.623 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/16.13, allocations: 15.83 kB / 5.623 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007203/16.14, allocations: 1.223 MB / 5.624 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/16.14, allocations: 0.5052 MB / 5.624 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/16.15, allocations: 2.025 MB / 5.626 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/16.15, allocations: 199.7 kB / 5.627 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/16.15, allocations: 163.9 kB / 5.627 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/16.15, allocations: 4 kB / 5.627 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009988/16.16, allocations: 3.382 MB / 5.63 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/16.16, allocations: 8 kB / 5.63 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/16.17, allocations: 0.8869 MB / 5.631 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/16.17, allocations: 0.5032 MB / 5.631 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5626/16.73, allocations: 1.807 MB / 5.633 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/16.74, allocations: 190.3 kB / 5.633 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/16.74, allocations: 163.7 kB / 5.634 GB, free: 49.13 MB / 0.6042 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 () * 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.0008366/16.74, allocations: 219.6 kB / 5.634 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/16.74, allocations: 226.7 kB / 5.634 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009586/16.75, allocations: 4.014 MB / 5.638 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/16.75, allocations: 18.31 kB / 5.638 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/16.75, allocations: 0 / 5.638 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/16.75, allocations: 17.44 kB / 5.638 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/16.76, allocations: 6.188 MB / 5.644 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/16.76, allocations: 4.375 kB / 5.644 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/16.77, allocations: 343.2 kB / 5.644 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005554/16.77, allocations: 1.082 MB / 5.645 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005562/16.77, allocations: 78.06 kB / 5.645 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/16.77, allocations: 1.938 MB / 5.647 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/16.77, allocations: 9.5 kB / 5.647 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008332/16.78, allocations: 4.789 MB / 5.652 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/16.78, allocations: 360.8 kB / 5.652 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/16.78, allocations: 44.02 kB / 5.652 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/16.79, allocations: 166.2 kB / 5.653 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/16.79, allocations: 151.3 kB / 5.653 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003989/16.79, allocations: 133.6 kB / 5.653 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002298/16.79, allocations: 1.39 MB / 5.654 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.81e-07/16.79, allocations: 0 / 5.654 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01275/16.8, allocations: 3.241 MB / 5.657 GB, free: 46.11 MB / 0.6042 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.02413/16.83, allocations: 10.51 MB / 5.668 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01156/16.84, allocations: 4.875 MB / 5.672 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-05/16.84, allocations: 9.469 kB / 5.672 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00321/16.84, allocations: 1.356 MB / 5.674 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007577/16.85, allocations: 1.244 MB / 5.675 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/16.87, allocations: 5.261 MB / 5.68 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/16.87, allocations: 1.722 MB / 5.682 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.006291/16.87, allocations: 1.439 MB / 5.683 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/16.88, allocations: 0.9544 MB / 5.684 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.144e-06/16.88, allocations: 0 / 5.684 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2553/17.13, allocations: 146.3 MB / 5.827 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/17.13, allocations: 255.8 kB / 5.827 GB, free: 15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/24.87, allocations: 0 / 5.827 GB, free: 15 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)