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.001486/0.001486, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.49/1.49, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 94.86 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4318/0.4318, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003366, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4436, allocations: 61.89 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.628/9.072, allocations: 3.456 GB / 3.966 GB, free: 38.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/9.073, allocations: 91.92 kB / 3.966 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.285/17.36, allocations: 1.586 GB / 5.552 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.26e-06/17.36, allocations: 2.125 kB / 5.552 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004243/17.36, allocations: 91.3 kB / 5.552 GB, free: 30.38 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.05823/17.42, allocations: 8.709 MB / 5.561 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/17.42, allocations: 9.75 kB / 5.561 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/17.42, allocations: 430.9 kB / 5.561 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/17.42, allocations: 398.9 kB / 5.561 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007386/17.43, allocations: 2.104 MB / 5.563 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005398/17.43, allocations: 0.4966 MB / 5.564 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009407/17.43, allocations: 293.5 kB / 5.564 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/17.44, allocations: 4.877 MB / 5.569 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.718e-05/17.44, allocations: 11.28 kB / 5.569 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005336/17.44, allocations: 126.3 kB / 5.569 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005189/17.44, allocations: 258 kB / 5.569 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/17.46, allocations: 4.969 MB / 5.574 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04948/17.51, allocations: 20.89 MB / 5.595 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007073/17.51, allocations: 2.597 MB / 5.597 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004203/17.52, allocations: 3.323 MB / 5.6 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/17.52, allocations: 63.11 kB / 5.6 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 1.024e-05/17.52, allocations: 0 / 5.6 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.0751/17.59, allocations: 16.51 MB / 5.617 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/17.59, allocations: 239.3 kB / 5.617 GB, free: 25.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/17.6, allocations: 2.202 MB / 5.619 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/17.6, allocations: 82.58 kB / 5.619 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/17.6, allocations: 1.459 MB / 5.62 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002422/17.6, allocations: 0.9545 MB / 5.621 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/17.6, allocations: 82.36 kB / 5.621 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0005083/17.6, allocations: 463.5 kB / 5.622 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005234/17.61, allocations: 2.001 MB / 5.624 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/17.62, allocations: 3.201 MB / 5.627 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/17.62, allocations: 2.548 MB / 5.629 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/17.62, allocations: 10.91 kB / 5.629 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01517/17.64, allocations: 6.155 MB / 5.635 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.007285/17.64, allocations: 15.23 MB / 5.65 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/17.64, allocations: 37.34 kB / 5.65 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005128/17.65, allocations: 0.9824 MB / 5.651 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/17.65, allocations: 0.8974 MB / 5.652 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/17.66, allocations: 2.788 MB / 5.655 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/17.67, allocations: 385.4 kB / 5.655 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/17.67, allocations: 239 kB / 5.656 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/17.67, allocations: 3.656 kB / 5.656 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/17.68, allocations: 5.789 MB / 5.661 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002359/17.68, allocations: 35.28 kB / 5.661 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/17.69, allocations: 0.9829 MB / 5.662 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00558/17.69, allocations: 0.8842 MB / 5.663 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/17.7, allocations: 2.796 MB / 5.666 GB, free: 17.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007498/17.71, allocations: 381.8 kB / 5.666 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002325/17.71, allocations: 237.5 kB / 5.666 GB, free: 17.89 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 () * 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.006366/17.71, allocations: 0.9741 MB / 5.667 GB, free: 17.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002177/17.72, allocations: 304.2 kB / 5.668 GB, free: 17.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/17.73, allocations: 6.341 MB / 5.674 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/17.73, allocations: 38.62 kB / 5.674 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/17.73, allocations: 3.953 kB / 5.674 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/17.73, allocations: 14.53 kB / 5.674 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/17.75, allocations: 8.651 MB / 5.682 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/17.75, allocations: 3.656 kB / 5.682 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/17.76, allocations: 0.5303 MB / 5.683 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/17.76, allocations: 1.171 MB / 5.684 GB, free: 16.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006799/17.76, allocations: 108.7 kB / 5.684 GB, free: 16.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/17.77, allocations: 2.671 MB / 5.687 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/17.77, allocations: 3.406 kB / 5.687 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/17.78, allocations: 7.137 MB / 5.694 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003758/17.79, allocations: 0.8787 MB / 5.695 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/17.79, allocations: 68.5 kB / 5.695 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/17.79, allocations: 284.4 kB / 5.695 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/17.79, allocations: 195.9 kB / 5.695 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004529/17.79, allocations: 150.1 kB / 5.695 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003506/17.8, allocations: 1.707 MB / 5.697 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/17.8, allocations: 0 / 5.697 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02337/17.82, allocations: 3.938 MB / 5.701 GB, free: 13.29 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 () * Number of clocked 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.03669/17.86, allocations: 12.4 MB / 5.713 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02496/17.88, allocations: 8.267 MB / 5.721 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/17.88, allocations: 1.281 kB / 5.721 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005805/17.89, allocations: 2.285 MB / 5.723 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008716/17.9, allocations: 1.306 MB / 5.724 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0567/17.95, allocations: 37.92 MB / 5.761 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/17.96, allocations: 2.286 MB / 5.764 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01024/17.97, allocations: 2.551 MB / 5.766 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003396/17.97, allocations: 1.38 MB / 5.768 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of SimCode: time 7.254e-06/17.97, allocations: 0 / 5.768 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.095/19.06, allocations: 163.4 MB / 5.927 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/19.06, allocations: 271.7 kB / 5.927 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.891/27.96, allocations: 0 / 5.927 GB, free: 72.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