Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 103.8 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.487/0.487, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003027, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 63.25 MB / 0.5193 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.145/9.534, allocations: 3.45 GB / 3.969 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/9.535, allocations: 97.52 kB / 3.969 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.154/17.69, allocations: 1.565 GB / 5.534 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.607e-06/17.69, allocations: 1.031 kB / 5.534 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003458/17.69, allocations: 82.81 kB / 5.534 GB, free: 36.39 MB / 0.6355 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.04351/17.73, allocations: 8.792 MB / 5.542 GB, free: 31.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/17.73, allocations: 10.28 kB / 5.542 GB, free: 31.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002842/17.74, allocations: 432.3 kB / 5.543 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/17.74, allocations: 400.3 kB / 5.543 GB, free: 31.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007466/17.75, allocations: 2.119 MB / 5.545 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005488/17.75, allocations: 0.4977 MB / 5.546 GB, free: 30.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/17.75, allocations: 284.4 kB / 5.546 GB, free: 30.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/17.76, allocations: 4.878 MB / 5.551 GB, free: 30.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.433e-05/17.76, allocations: 9.75 kB / 5.551 GB, free: 30.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005738/17.76, allocations: 123.3 kB / 5.551 GB, free: 30.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003945/17.76, allocations: 268.6 kB / 5.551 GB, free: 30.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/17.77, allocations: 4.961 MB / 5.556 GB, free: 30.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04544/17.82, allocations: 20.89 MB / 5.576 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/17.82, allocations: 2.596 MB / 5.579 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003085/17.83, allocations: 3.317 MB / 5.582 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/17.83, allocations: 65.31 kB / 5.582 GB, free: 16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 5.741e-06/17.83, allocations: 3.312 kB / 5.582 GB, free: 16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.06629/17.89, allocations: 16.51 MB / 5.598 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/17.89, allocations: 234.3 kB / 5.598 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004267/17.9, allocations: 2.212 MB / 5.601 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/17.9, allocations: 77.52 kB / 5.601 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/17.9, allocations: 1.464 MB / 5.602 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/17.9, allocations: 0.9432 MB / 5.603 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/17.9, allocations: 83.75 kB / 5.603 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002801/17.9, allocations: 463.3 kB / 5.604 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/17.91, allocations: 2.001 MB / 5.605 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005187/17.91, allocations: 3.207 MB / 5.609 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005079/17.92, allocations: 2.546 MB / 5.611 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-05/17.92, allocations: 9.812 kB / 5.611 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.0157/17.93, allocations: 6.162 MB / 5.617 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.006632/17.94, allocations: 15.22 MB / 5.632 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/17.94, allocations: 34.41 kB / 5.632 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/17.94, allocations: 0.9772 MB / 5.633 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/17.95, allocations: 0.8973 MB / 5.634 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/17.95, allocations: 2.801 MB / 5.637 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007165/17.96, allocations: 384.9 kB / 5.637 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/17.96, allocations: 242.7 kB / 5.637 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/17.96, allocations: 6 kB / 5.637 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01479/17.98, allocations: 5.783 MB / 5.643 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/17.98, allocations: 35.44 kB / 5.643 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00472/17.98, allocations: 0.983 MB / 5.644 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005052/17.99, allocations: 0.8933 MB / 5.645 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005378/17.99, allocations: 2.784 MB / 5.647 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007615/18, allocations: 384.1 kB / 5.648 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/18, allocations: 236.4 kB / 5.648 GB, free: 3.195 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.006098/18.01, allocations: 0.9785 MB / 5.649 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002568/18.01, allocations: 298.9 kB / 5.649 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/18.03, allocations: 6.346 MB / 5.655 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.733e-05/18.03, allocations: 37.03 kB / 5.655 GB, free: 140 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/18.03, allocations: 3.953 kB / 5.655 GB, free: 136 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/18.03, allocations: 13.55 kB / 5.656 GB, free: 136 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/18.05, allocations: 8.643 MB / 5.664 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/18.05, allocations: 6.703 kB / 5.664 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/18.05, allocations: 0.5252 MB / 5.664 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005748/18.06, allocations: 1.178 MB / 5.666 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004116/18.06, allocations: 105.4 kB / 5.666 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004493/18.06, allocations: 2.666 MB / 5.668 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/18.06, allocations: 4.031 kB / 5.668 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/18.08, allocations: 7.141 MB / 5.675 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004537/18.08, allocations: 0.8775 MB / 5.676 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/18.08, allocations: 71.47 kB / 5.676 GB, free: 400 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004533/18.09, allocations: 284.2 kB / 5.676 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/18.09, allocations: 192.7 kB / 5.677 GB, free: 60 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/18.09, allocations: 171.6 kB / 5.677 GB, free: 0 / 0.6667 GB Notification: Performance of sorting global known variables: time 0.8199/18.91, allocations: 1.708 MB / 5.679 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.62e-07/18.91, allocations: 1.969 kB / 5.679 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02534/18.94, allocations: 3.964 MB / 5.682 GB, free: 64.51 MB / 0.6667 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.0357/18.97, allocations: 12.43 MB / 5.695 GB, free: 62.97 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02344/19, allocations: 8.262 MB / 5.703 GB, free: 62.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/19, allocations: 6.625 kB / 5.703 GB, free: 62.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005175/19, allocations: 2.279 MB / 5.705 GB, free: 62.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008034/19.01, allocations: 1.32 MB / 5.706 GB, free: 62.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04368/19.05, allocations: 37.94 MB / 5.743 GB, free: 31.79 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/19.05, allocations: 2.281 MB / 5.745 GB, free: 31.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.009472/19.06, allocations: 2.554 MB / 5.748 GB, free: 30.94 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003118/19.07, allocations: 1.381 MB / 5.749 GB, free: 30.94 MB / 0.6667 GB Notification: Performance of SimCode: time 1.302e-06/19.07, allocations: 0 / 5.749 GB, free: 30.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3435/19.41, allocations: 163.3 MB / 5.909 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/19.41, allocations: 283.3 kB / 5.909 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.719/28.13, allocations: 0 / 5.909 GB, free: 3.391 MB / 0.6823 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat