Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.00155/0.00155, allocations: 186.6 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001143/0.001143, allocations: 96.3 kB / 270.9 MB, free: 8.363 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.5393/0.5393, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 8 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.83 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.72/11.86, allocations: 3.633 GB / 4.112 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/11.86, allocations: 87.95 kB / 4.112 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.116/20.97, allocations: 1.464 GB / 5.576 GB, free: 31.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.576e-06/20.97, allocations: 0 / 5.576 GB, free: 31.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002929/20.97, allocations: 63.09 kB / 5.576 GB, free: 31.11 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.03776/21.01, allocations: 7.548 MB / 5.584 GB, free: 27.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/21.01, allocations: 16.02 kB / 5.584 GB, free: 27.13 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001696/21.01, allocations: 285.8 kB / 5.584 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/21.01, allocations: 286.4 kB / 5.584 GB, free: 26.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006504/21.02, allocations: 1.562 MB / 5.586 GB, free: 26.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/21.02, allocations: 150.9 kB / 5.586 GB, free: 26.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009528/21.02, allocations: 187.8 kB / 5.586 GB, free: 26.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/21.03, allocations: 3.161 MB / 5.589 GB, free: 26.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-05/21.03, allocations: 0 / 5.589 GB, free: 26.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005561/21.03, allocations: 81.86 kB / 5.589 GB, free: 26.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003782/21.03, allocations: 184.9 kB / 5.589 GB, free: 26.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/21.04, allocations: 3.526 MB / 5.593 GB, free: 26.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04016/21.08, allocations: 12.15 MB / 5.605 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006094/21.09, allocations: 1.818 MB / 5.607 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/21.09, allocations: 1.676 MB / 5.608 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/21.09, allocations: 64.88 kB / 5.608 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00403/21.1, allocations: 367.3 kB / 5.609 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 1.175e-05/21.1, allocations: 2.344 kB / 5.609 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.05515/21.15, allocations: 9.507 MB / 5.618 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/21.15, allocations: 204.9 kB / 5.618 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004394/21.16, allocations: 1.799 MB / 5.62 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009712/21.16, allocations: 62.23 kB / 5.62 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000842/21.16, allocations: 0.8949 MB / 5.621 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/21.16, allocations: 0.5855 MB / 5.621 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/21.16, allocations: 44.03 kB / 5.621 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001769/21.16, allocations: 398 kB / 5.622 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/21.17, allocations: 1.316 MB / 5.623 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005048/21.17, allocations: 1.664 MB / 5.625 GB, free: 16.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/21.18, allocations: 1.558 MB / 5.626 GB, free: 16.87 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/21.18, allocations: 7.875 kB / 5.626 GB, free: 16.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01907/21.19, allocations: 4.138 MB / 5.63 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008149/21.2, allocations: 2.941 MB / 5.633 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/21.2, allocations: 7.688 kB / 5.633 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/21.21, allocations: 1.328 MB / 5.634 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/21.21, allocations: 0.5053 MB / 5.635 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/21.22, allocations: 2.135 MB / 5.637 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/21.22, allocations: 199.7 kB / 5.637 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007623/21.23, allocations: 166.9 kB / 5.637 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/21.23, allocations: 7.141 kB / 5.637 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01429/21.24, allocations: 3.614 MB / 5.641 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/21.24, allocations: 8.719 kB / 5.641 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009468/21.25, allocations: 0.9642 MB / 5.642 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00498/21.25, allocations: 0.5148 MB / 5.642 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/21.26, allocations: 1.904 MB / 5.644 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/21.26, allocations: 192.2 kB / 5.644 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008744/21.27, allocations: 165.6 kB / 5.645 GB, free: 11.33 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.002273/21.27, allocations: 0.6355 MB / 5.645 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008907/21.27, allocations: 223.9 kB / 5.645 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/21.28, allocations: 4.233 MB / 5.65 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/21.28, allocations: 18.59 kB / 5.65 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/21.28, allocations: 0 / 5.65 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/21.28, allocations: 8.766 kB / 5.65 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/21.3, allocations: 6.083 MB / 5.655 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/21.3, allocations: 3.312 kB / 5.655 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/21.3, allocations: 343.5 kB / 5.656 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/21.31, allocations: 1.177 MB / 5.657 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006094/21.31, allocations: 74.98 kB / 5.657 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/21.32, allocations: 2.057 MB / 5.659 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/21.32, allocations: 11.7 kB / 5.659 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/21.33, allocations: 5.084 MB / 5.664 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/21.33, allocations: 366.9 kB / 5.664 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007697/21.33, allocations: 45.25 kB / 5.664 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00363/21.34, allocations: 169.4 kB / 5.665 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/21.34, allocations: 143.4 kB / 5.665 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004373/21.34, allocations: 137 kB / 5.665 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003016/21.34, allocations: 1.417 MB / 5.666 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/21.34, allocations: 2.078 kB / 5.666 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01412/21.36, allocations: 3.24 MB / 5.669 GB, free: 5.699 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.03074/21.39, allocations: 10.81 MB / 5.68 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01686/21.4, allocations: 5.09 MB / 5.685 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/21.4, allocations: 5.844 kB / 5.685 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004662/21.41, allocations: 1.444 MB / 5.686 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/21.42, allocations: 1.247 MB / 5.688 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/21.45, allocations: 13.03 MB / 5.7 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/21.45, allocations: 1.714 MB / 5.702 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004813/21.46, allocations: 1.078 MB / 5.703 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/21.46, allocations: 0 / 5.703 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.55/27.01, allocations: 101.6 MB / 5.802 GB, free: 49.35 MB / 0.6198 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat