Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",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.001152/0.001152, allocations: 180.6 kB / 15.76 MB, free: 6.367 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.701/1.701, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008959/0.0008958, allocations: 98.83 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.2235/0.2235, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003387, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.33/8.465, allocations: 3.621 GB / 4.1 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/8.465, allocations: 87.95 kB / 4.1 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.646/16.11, allocations: 1.638 GB / 5.738 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.896e-06/16.11, allocations: 2.188 kB / 5.738 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000316/16.11, allocations: 84.19 kB / 5.738 GB, free: 30.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.04652/16.16, allocations: 9.069 MB / 5.747 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.095e-05/16.16, allocations: 9.781 kB / 5.747 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002987/16.16, allocations: 432.5 kB / 5.747 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/16.16, allocations: 401.4 kB / 5.748 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009565/16.17, allocations: 2.12 MB / 5.75 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008911/16.17, allocations: 0.4975 MB / 5.75 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/16.18, allocations: 291.9 kB / 5.75 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/16.19, allocations: 4.909 MB / 5.755 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/16.19, allocations: 11.06 kB / 5.755 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001863/16.2, allocations: 128.2 kB / 5.755 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007016/16.2, allocations: 264.4 kB / 5.756 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/16.21, allocations: 5.013 MB / 5.761 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04881/16.26, allocations: 20.69 MB / 5.781 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006793/16.27, allocations: 2.721 MB / 5.783 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003462/16.27, allocations: 3.342 MB / 5.787 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/16.27, allocations: 74.7 kB / 5.787 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=235): time 8.716e-06/16.27, allocations: 0 / 5.787 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=271): time 0.07537/16.34, allocations: 16.76 MB / 5.803 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/16.34, allocations: 235.4 kB / 5.803 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005587/16.35, allocations: 2.178 MB / 5.805 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/16.35, allocations: 79.05 kB / 5.806 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/16.35, allocations: 1.449 MB / 5.807 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001887/16.35, allocations: 0.9573 MB / 5.808 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/16.36, allocations: 80.81 kB / 5.808 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004778/16.36, allocations: 472.3 kB / 5.808 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/16.36, allocations: 2.008 MB / 5.81 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006671/16.37, allocations: 3.209 MB / 5.813 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/16.37, allocations: 2.555 MB / 5.816 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.298e-05/16.37, allocations: 14.5 kB / 5.816 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01715/16.39, allocations: 6.221 MB / 5.822 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.007587/16.4, allocations: 15.23 MB / 5.837 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/16.4, allocations: 36.94 kB / 5.837 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/16.4, allocations: 0.9819 MB / 5.838 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/16.41, allocations: 0.9225 MB / 5.839 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/16.41, allocations: 2.789 MB / 5.842 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006995/16.42, allocations: 388.4 kB / 5.842 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/16.42, allocations: 281.2 kB / 5.842 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/16.42, allocations: 5.219 kB / 5.842 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02009/16.44, allocations: 5.852 MB / 5.848 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/16.44, allocations: 36.31 kB / 5.848 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004852/16.45, allocations: 0.9883 MB / 5.849 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/16.45, allocations: 0.9072 MB / 5.85 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/16.46, allocations: 2.793 MB / 5.853 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007015/16.47, allocations: 379.2 kB / 5.853 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002211/16.47, allocations: 277.2 kB / 5.853 GB, free: 8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 474 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.006156/16.48, allocations: 0.9807 MB / 5.854 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002539/16.48, allocations: 300.3 kB / 5.854 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/16.5, allocations: 6.201 MB / 5.86 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-05/16.5, allocations: 31.7 kB / 5.86 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-05/16.5, allocations: 3.375 kB / 5.861 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.327e-05/16.5, allocations: 17.78 kB / 5.861 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7309/17.23, allocations: 9.077 MB / 5.869 GB, free: 57.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/17.23, allocations: 0 / 5.869 GB, free: 57.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/17.23, allocations: 0.5719 MB / 5.87 GB, free: 57.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006659/17.24, allocations: 1.165 MB / 5.871 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008196/17.24, allocations: 124.6 kB / 5.871 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/17.25, allocations: 2.679 MB / 5.874 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/17.25, allocations: 2.531 kB / 5.874 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/17.27, allocations: 7.565 MB / 5.881 GB, free: 55.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004206/17.27, allocations: 0.8951 MB / 5.882 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/17.27, allocations: 71.91 kB / 5.882 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/17.28, allocations: 283.1 kB / 5.882 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/17.28, allocations: 214.8 kB / 5.883 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005425/17.28, allocations: 186.2 kB / 5.883 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003624/17.28, allocations: 1.619 MB / 5.884 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.963e-06/17.28, allocations: 0 / 5.884 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02731/17.31, allocations: 4.279 MB / 5.889 GB, free: 55.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.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 (297): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05067/17.36, allocations: 13.46 MB / 5.902 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02639/17.39, allocations: 8.403 MB / 5.91 GB, free: 52.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/17.39, allocations: 2.562 kB / 5.91 GB, free: 52.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007247/17.39, allocations: 2.415 MB / 5.912 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009667/17.4, allocations: 1.337 MB / 5.914 GB, free: 52.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0485/17.45, allocations: 38.19 MB / 5.951 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004294/17.46, allocations: 2.286 MB / 5.953 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01355/17.47, allocations: 2.228 MB / 5.955 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00592/17.47, allocations: 1.445 MB / 5.957 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of SimCode: time 2.234e-06/17.47, allocations: 2.781 kB / 5.957 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/18.5, allocations: 170.4 MB / 6.123 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/18.5, allocations: 274 kB / 6.123 GB, free: 79.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/27.29, allocations: 1.844 kB / 6.123 GB, free: 79.77 MB / 0.6667 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat