Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002497/0.002497, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.0009573, allocations: 91.67 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.088e-05, allocations: 7.938 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.461/8.588, allocations: 3.456 GB / 3.958 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/8.588, allocations: 83.95 kB / 3.958 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.106/15.69, allocations: 1.584 GB / 5.541 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/15.69, allocations: 7.875 kB / 5.541 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002863/15.69, allocations: 79.52 kB / 5.541 GB, free: 32.18 MB / 0.6198 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.0366/15.73, allocations: 8.389 MB / 5.55 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/15.73, allocations: 11.12 kB / 5.55 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002235/15.73, allocations: 422.9 kB / 5.55 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/15.74, allocations: 396.9 kB / 5.55 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005913/15.74, allocations: 2.103 MB / 5.552 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/15.74, allocations: 0.4979 MB / 5.553 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/15.74, allocations: 292.1 kB / 5.553 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008756/15.75, allocations: 4.782 MB / 5.558 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/15.75, allocations: 14.59 kB / 5.558 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004572/15.75, allocations: 125 kB / 5.558 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002906/15.75, allocations: 258.8 kB / 5.558 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00792/15.76, allocations: 4.806 MB / 5.563 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/15.79, allocations: 20.89 MB / 5.583 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/15.8, allocations: 2.523 MB / 5.586 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/15.8, allocations: 1.534 MB / 5.587 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/15.8, allocations: 3.317 MB / 5.591 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/15.8, allocations: 71.06 kB / 5.591 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=232): time 4.708e-06/15.8, allocations: 0 / 5.591 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268): time 0.05094/15.85, allocations: 14.12 MB / 5.604 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/15.85, allocations: 231.7 kB / 5.605 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/15.86, allocations: 2.185 MB / 5.607 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004282/15.86, allocations: 81.7 kB / 5.607 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/15.86, allocations: 1.458 MB / 5.608 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/15.86, allocations: 0.9554 MB / 5.609 GB, free: 176 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/15.86, allocations: 80 kB / 5.609 GB, free: 96 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003833/15.86, allocations: 479.1 kB / 5.61 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/15.86, allocations: 1.808 MB / 5.612 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/15.87, allocations: 3.023 MB / 5.614 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/15.87, allocations: 2.38 MB / 5.617 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/15.87, allocations: 12 kB / 5.617 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009953/15.88, allocations: 5.672 MB / 5.622 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.006193/15.89, allocations: 15.22 MB / 5.637 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/15.89, allocations: 40 kB / 5.637 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/15.89, allocations: 0.7222 MB / 5.638 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/15.89, allocations: 0.8948 MB / 5.639 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.638/16.53, allocations: 2.457 MB / 5.641 GB, free: 61.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/16.54, allocations: 377.8 kB / 5.642 GB, free: 61.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/16.54, allocations: 242.1 kB / 5.642 GB, free: 61.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/16.54, allocations: 6.094 kB / 5.642 GB, free: 61.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01272/16.55, allocations: 5.299 MB / 5.647 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/16.55, allocations: 39.56 kB / 5.647 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/16.56, allocations: 0.7266 MB / 5.648 GB, free: 60.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004329/16.56, allocations: 0.8935 MB / 5.649 GB, free: 60.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/16.56, allocations: 2.454 MB / 5.651 GB, free: 59.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/16.57, allocations: 380.2 kB / 5.651 GB, free: 59.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/16.57, allocations: 236.1 kB / 5.652 GB, free: 59.39 MB / 0.6511 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.001583/16.57, allocations: 365.8 kB / 5.652 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009487/16.57, allocations: 301.6 kB / 5.652 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/16.59, allocations: 5.877 MB / 5.658 GB, free: 59.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/16.59, allocations: 38.42 kB / 5.658 GB, free: 59.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/16.59, allocations: 1.125 kB / 5.658 GB, free: 59.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/16.59, allocations: 14.86 kB / 5.658 GB, free: 59.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02092/16.61, allocations: 8.25 MB / 5.666 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/16.61, allocations: 4.438 kB / 5.666 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/16.61, allocations: 0.5331 MB / 5.667 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/16.61, allocations: 0.9158 MB / 5.667 GB, free: 58.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001029/16.62, allocations: 108 kB / 5.668 GB, free: 58.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/16.62, allocations: 2.341 MB / 5.67 GB, free: 56.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/16.62, allocations: 1.125 kB / 5.67 GB, free: 56.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/16.63, allocations: 6.559 MB / 5.676 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003093/16.64, allocations: 0.8925 MB / 5.677 GB, free: 56.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/16.64, allocations: 73.75 kB / 5.677 GB, free: 56.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004096/16.64, allocations: 279.3 kB / 5.678 GB, free: 56.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/16.64, allocations: 199 kB / 5.678 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006763/16.64, allocations: 146.7 kB / 5.678 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004781/16.65, allocations: 1.68 MB / 5.679 GB, free: 56.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.62e-07/16.65, allocations: 0 / 5.679 GB, free: 56.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01924/16.67, allocations: 3.933 MB / 5.683 GB, free: 56.02 MB / 0.6511 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 (285): * Single equations (assignments): 273 * 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.02591/16.69, allocations: 11.83 MB / 5.695 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01608/16.71, allocations: 7.783 MB / 5.702 GB, free: 53.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/16.71, allocations: 7.562 kB / 5.702 GB, free: 53.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/16.71, allocations: 2.104 MB / 5.705 GB, free: 53.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007882/16.72, allocations: 1.314 MB / 5.706 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/16.75, allocations: 8.287 MB / 5.714 GB, free: 52.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/16.75, allocations: 2.286 MB / 5.716 GB, free: 51.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.009684/16.76, allocations: 2.752 MB / 5.719 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004087/16.76, allocations: 1.355 MB / 5.72 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.664e-06/16.76, allocations: 0 / 5.72 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8641/17.63, allocations: 173.2 MB / 5.889 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/17.63, allocations: 245.3 kB / 5.89 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.972/26.6, allocations: 0 / 5.89 GB, free: 80.19 MB / 0.6823 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat