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.001422/0.001422, 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.492/1.492, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009283/0.0009282, allocations: 92.25 kB / 267.1 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.3988/0.3988, allocations: 43.48 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.161e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.017/9.136, allocations: 3.621 GB / 4.094 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/9.136, allocations: 83.95 kB / 4.094 GB, free: 60.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.291/16.43, allocations: 1.635 GB / 5.729 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/16.43, allocations: 2.5 kB / 5.729 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003268/16.43, allocations: 83.09 kB / 5.729 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.03841/16.47, allocations: 8.739 MB / 5.738 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/16.47, allocations: 10.41 kB / 5.738 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/16.47, allocations: 422 kB / 5.738 GB, free: 25.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/16.47, allocations: 393.6 kB / 5.738 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/16.48, allocations: 2.112 MB / 5.74 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/16.48, allocations: 0.5015 MB / 5.741 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008402/16.48, allocations: 281.7 kB / 5.741 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009954/16.49, allocations: 4.831 MB / 5.746 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.612e-05/16.49, allocations: 8.094 kB / 5.746 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006028/16.49, allocations: 125.4 kB / 5.746 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004316/16.49, allocations: 260.1 kB / 5.746 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009188/16.5, allocations: 4.854 MB / 5.751 GB, free: 24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04414/16.54, allocations: 20.69 MB / 5.771 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005703/16.55, allocations: 2.647 MB / 5.774 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/16.55, allocations: 1.555 MB / 5.775 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/16.55, allocations: 3.344 MB / 5.779 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/16.55, allocations: 73.33 kB / 5.779 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=235): time 4.509e-06/16.55, allocations: 0 / 5.779 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=271): time 0.06447/16.62, allocations: 14.26 MB / 5.793 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/16.62, allocations: 235.8 kB / 5.793 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/16.62, allocations: 2.153 MB / 5.795 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001334/16.62, allocations: 83.14 kB / 5.795 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/16.63, allocations: 1.451 MB / 5.796 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/16.63, allocations: 0.9554 MB / 5.797 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/16.63, allocations: 83.06 kB / 5.797 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002732/16.63, allocations: 463.4 kB / 5.798 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/16.63, allocations: 1.824 MB / 5.8 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003634/16.64, allocations: 3.023 MB / 5.803 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/16.64, allocations: 2.39 MB / 5.805 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.09e-05/16.64, allocations: 7.844 kB / 5.805 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01096/16.65, allocations: 5.75 MB / 5.811 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005408/16.66, allocations: 15.22 MB / 5.825 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.079e-05/16.66, allocations: 36.16 kB / 5.825 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/16.66, allocations: 0.7404 MB / 5.826 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/16.66, allocations: 0.9179 MB / 5.827 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/16.67, allocations: 2.451 MB / 5.829 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005253/16.67, allocations: 387.8 kB / 5.83 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008854/16.67, allocations: 278.4 kB / 5.83 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/16.67, allocations: 2.625 kB / 5.83 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/16.68, allocations: 5.491 MB / 5.835 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-05/16.68, allocations: 38.78 kB / 5.836 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/16.69, allocations: 0.7226 MB / 5.836 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/16.69, allocations: 0.9158 MB / 5.837 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/16.69, allocations: 2.458 MB / 5.84 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/16.7, allocations: 375.5 kB / 5.84 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/16.7, allocations: 281.8 kB / 5.84 GB, free: 13.43 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 () * 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.00144/16.7, allocations: 360.6 kB / 5.84 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009582/16.7, allocations: 305.2 kB / 5.841 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/16.71, allocations: 5.732 MB / 5.846 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.12e-05/16.71, allocations: 39.23 kB / 5.846 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/16.71, allocations: 0 / 5.846 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/16.71, allocations: 20.55 kB / 5.846 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/16.74, allocations: 9.505 MB / 5.856 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/16.74, allocations: 4 kB / 5.856 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/16.74, allocations: 0.5764 MB / 5.856 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004002/16.74, allocations: 0.9108 MB / 5.857 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/16.74, allocations: 126.6 kB / 5.857 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5402/17.28, allocations: 2.354 MB / 5.86 GB, free: 58.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/17.28, allocations: 3.281 kB / 5.86 GB, free: 58.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/17.31, allocations: 7.653 MB / 5.867 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/17.31, allocations: 0.894 MB / 5.868 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/17.31, allocations: 71.69 kB / 5.868 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003678/17.32, allocations: 282.6 kB / 5.868 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/17.32, allocations: 215.2 kB / 5.868 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005734/17.32, allocations: 188.7 kB / 5.869 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003012/17.32, allocations: 1.596 MB / 5.87 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/17.32, allocations: 3.906 kB / 5.87 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02097/17.34, allocations: 4.271 MB / 5.874 GB, free: 57.55 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 () * 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.03682/17.38, allocations: 13.57 MB / 5.888 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02165/17.4, allocations: 7.926 MB / 5.895 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/17.4, allocations: 4.219 kB / 5.895 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005602/17.4, allocations: 2.241 MB / 5.898 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008611/17.41, allocations: 1.326 MB / 5.899 GB, free: 55.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/17.44, allocations: 8.56 MB / 5.907 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/17.44, allocations: 2.291 MB / 5.909 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01001/17.45, allocations: 2.419 MB / 5.912 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003689/17.46, allocations: 1.42 MB / 5.913 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.643e-06/17.46, allocations: 0 / 5.913 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3122/17.77, allocations: 180.6 MB / 6.09 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/17.77, allocations: 245.8 kB / 6.09 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.409/27.18, allocations: 0 / 6.09 GB, free: 11.9 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