Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001605/0.00161, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.125/2.125, 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.001173/0.001173, allocations: 86.92 kB / 270.9 MB, free: 8.383 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.5655/0.5655, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.000505, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1424, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.48/11.63, allocations: 3.621 GB / 4.1 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/11.63, allocations: 87.7 kB / 4.1 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 9.921/21.55, allocations: 1.638 GB / 5.738 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/21.55, allocations: 0 / 5.738 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003597/21.55, allocations: 83.92 kB / 5.738 GB, free: 4.324 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.04724/21.6, allocations: 9.076 MB / 5.747 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/21.6, allocations: 8.031 kB / 5.747 GB, free: 11.13 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002561/21.6, allocations: 433.1 kB / 5.747 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/21.6, allocations: 395.8 kB / 5.748 GB, free: 10.3 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009348/21.61, allocations: 2.111 MB / 5.75 GB, free: 8.137 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000711/21.61, allocations: 0.497 MB / 5.75 GB, free: 7.582 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/21.61, allocations: 283.9 kB / 5.75 GB, free: 7.305 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/21.63, allocations: 4.912 MB / 5.755 GB, free: 2.129 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/21.63, allocations: 11.84 kB / 5.755 GB, free: 2.117 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007378/21.63, allocations: 135.8 kB / 5.755 GB, free: 1.984 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005791/21.63, allocations: 261.2 kB / 5.756 GB, free: 1.727 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6327/22.26, allocations: 5.005 MB / 5.761 GB, free: 39.37 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/22.32, allocations: 20.68 MB / 5.781 GB, free: 29.6 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008752/22.33, allocations: 2.707 MB / 5.783 GB, free: 29.57 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003735/22.33, allocations: 3.347 MB / 5.787 GB, free: 26.09 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/22.33, allocations: 66.33 kB / 5.787 GB, free: 26.05 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=235): time 6.342e-06/22.33, allocations: 0.7812 kB / 5.787 GB, free: 26.05 MB / 0.6199 GB Notification: Performance of matching and sorting (n=271): time 0.1228/22.45, allocations: 16.75 MB / 5.803 GB, free: 24.89 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/22.45, allocations: 239 kB / 5.803 GB, free: 24.63 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006172/22.46, allocations: 2.175 MB / 5.805 GB, free: 24.4 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/22.46, allocations: 85.98 kB / 5.805 GB, free: 24.37 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/22.46, allocations: 1.367 MB / 5.807 GB, free: 23.78 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002187/22.47, allocations: 0.9635 MB / 5.808 GB, free: 23.3 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/22.47, allocations: 81.09 kB / 5.808 GB, free: 23.3 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0003999/22.47, allocations: 466.9 kB / 5.808 GB, free: 22.99 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008738/22.48, allocations: 2.013 MB / 5.81 GB, free: 22.98 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/22.49, allocations: 3.208 MB / 5.813 GB, free: 21.6 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009658/22.5, allocations: 2.551 MB / 5.816 GB, free: 21.43 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.444e-05/22.5, allocations: 11.84 kB / 5.816 GB, free: 21.43 MB / 0.6199 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02735/22.52, allocations: 6.089 MB / 5.822 GB, free: 21.08 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.005612/22.53, allocations: 14.57 MB / 5.836 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/22.53, allocations: 39.12 kB / 5.836 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008909/22.54, allocations: 0.981 MB / 5.837 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008091/22.55, allocations: 0.9271 MB / 5.838 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00806/22.55, allocations: 2.793 MB / 5.841 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008415/22.56, allocations: 385 kB / 5.841 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/22.56, allocations: 279.5 kB / 5.841 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/22.56, allocations: 2.906 kB / 5.841 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02476/22.59, allocations: 5.861 MB / 5.847 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/22.59, allocations: 38.97 kB / 5.847 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008552/22.6, allocations: 0.9803 MB / 5.848 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008399/22.61, allocations: 0.9084 MB / 5.849 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/22.62, allocations: 2.785 MB / 5.852 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00695/22.62, allocations: 383.5 kB / 5.852 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/22.62, allocations: 276.8 kB / 5.852 GB, free: 18.47 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.004472/22.63, allocations: 0.9775 MB / 5.853 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/22.63, allocations: 300.7 kB / 5.854 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02465/22.65, allocations: 6.211 MB / 5.86 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/22.65, allocations: 35.33 kB / 5.86 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/22.65, allocations: 0.8125 kB / 5.86 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/22.65, allocations: 22.8 kB / 5.86 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03244/22.69, allocations: 9.039 MB / 5.868 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.97e-05/22.69, allocations: 2.219 kB / 5.868 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005639/22.69, allocations: 0.5749 MB / 5.869 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/22.7, allocations: 1.166 MB / 5.87 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001095/22.7, allocations: 124.4 kB / 5.87 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006755/22.71, allocations: 2.675 MB / 5.873 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/22.71, allocations: 0 / 5.873 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.027/22.74, allocations: 7.562 MB / 5.88 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003881/22.74, allocations: 0.8929 MB / 5.881 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/22.74, allocations: 71.64 kB / 5.881 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006003/22.75, allocations: 289.5 kB / 5.882 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/22.75, allocations: 219.3 kB / 5.882 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007245/22.75, allocations: 185 kB / 5.882 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004023/22.76, allocations: 1.614 MB / 5.883 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.82e-07/22.76, allocations: 0 / 5.883 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02236/22.78, allocations: 4.275 MB / 5.888 GB, free: 14.68 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.04918/22.83, allocations: 13.46 MB / 5.901 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02884/22.86, allocations: 8.411 MB / 5.909 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.69e-05/22.86, allocations: 6.375 kB / 5.909 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00867/22.86, allocations: 2.411 MB / 5.911 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/22.88, allocations: 1.338 MB / 5.913 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0507/22.93, allocations: 38.4 MB / 5.95 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/22.93, allocations: 2.292 MB / 5.952 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005022/22.94, allocations: 1.516 MB / 5.954 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/22.94, allocations: 0 / 5.954 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.571/29.51, allocations: 146.8 MB / 6.097 GB, free: 81.07 MB / 0.6667 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat