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.001073/0.001073, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.000934, allocations: 96.52 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.793e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 63.26 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.713/8.827, allocations: 3.449 GB / 3.953 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/8.828, allocations: 85.89 kB / 3.953 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.534/15.36, allocations: 1.547 GB / 5.501 GB, free: 31.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/15.36, allocations: 0 / 5.501 GB, free: 31.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002392/15.36, allocations: 86.25 kB / 5.501 GB, free: 31.86 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.03465/15.4, allocations: 8.464 MB / 5.509 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/15.4, allocations: 7.625 kB / 5.509 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/15.4, allocations: 395.9 kB / 5.509 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007402/15.41, allocations: 2.112 MB / 5.511 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006085/15.41, allocations: 402.9 kB / 5.512 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/15.41, allocations: 173.6 kB / 5.512 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01061/15.42, allocations: 4.342 MB / 5.516 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/15.43, allocations: 4.381 MB / 5.521 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/15.43, allocations: 7.938 kB / 5.521 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/15.43, allocations: 11.94 kB / 5.521 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003154/15.44, allocations: 267 kB / 5.521 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/15.47, allocations: 20.33 MB / 5.541 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005224/15.48, allocations: 2.472 MB / 5.543 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/15.48, allocations: 1.483 MB / 5.545 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003534/15.48, allocations: 3.312 MB / 5.548 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.477e-05/15.48, allocations: 68.8 kB / 5.548 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 6.782e-06/15.48, allocations: 0 / 5.548 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.596/16.08, allocations: 13.2 MB / 5.561 GB, free: 47.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/16.08, allocations: 238.1 kB / 5.561 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/16.08, allocations: 1.694 MB / 5.563 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000615/16.08, allocations: 32.08 kB / 5.563 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/16.08, allocations: 1.461 MB / 5.564 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/16.08, allocations: 0.9147 MB / 5.565 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/16.08, allocations: 3.219 kB / 5.565 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002341/16.09, allocations: 468.2 kB / 5.565 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/16.09, allocations: 1.762 MB / 5.567 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/16.09, allocations: 2.941 MB / 5.57 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/16.11, allocations: 3.926 MB / 5.574 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/16.11, allocations: 9.719 kB / 5.574 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02281/16.13, allocations: 6.914 MB / 5.581 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.003137/16.13, allocations: 14.89 MB / 5.595 GB, free: 28.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/16.13, allocations: 36.11 kB / 5.595 GB, free: 28.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/16.14, allocations: 0.7237 MB / 5.596 GB, free: 28.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/16.14, allocations: 0.8968 MB / 5.597 GB, free: 28.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/16.14, allocations: 2.521 MB / 5.599 GB, free: 27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/16.15, allocations: 312.3 kB / 5.599 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/16.15, allocations: 239.2 kB / 5.6 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/16.15, allocations: 3.094 kB / 5.6 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01823/16.17, allocations: 6.369 MB / 5.606 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-05/16.17, allocations: 35.16 kB / 5.606 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/16.17, allocations: 0.7254 MB / 5.607 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/16.17, allocations: 0.8909 MB / 5.608 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/16.18, allocations: 2.53 MB / 5.61 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/16.18, allocations: 294.7 kB / 5.61 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/16.18, allocations: 239 kB / 5.611 GB, free: 25.27 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.001291/16.18, allocations: 240.5 kB / 5.611 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01507/16.2, allocations: 4.711 MB / 5.615 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/16.2, allocations: 273.2 kB / 5.616 GB, free: 24.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02498/16.22, allocations: 6.2 MB / 5.622 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-05/16.22, allocations: 40.81 kB / 5.622 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/16.22, allocations: 3.812 kB / 5.622 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-05/16.22, allocations: 13.45 kB / 5.622 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/16.26, allocations: 8.288 MB / 5.63 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/16.26, allocations: 2.062 kB / 5.63 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004191/16.26, allocations: 0.5296 MB / 5.63 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005887/16.27, allocations: 0.8995 MB / 5.631 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/16.27, allocations: 73.83 kB / 5.631 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/16.27, allocations: 2.423 MB / 5.634 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/16.27, allocations: 3.5 kB / 5.634 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02575/16.3, allocations: 6.859 MB / 5.64 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003757/16.3, allocations: 0.8481 MB / 5.641 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/16.3, allocations: 27.47 kB / 5.641 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005201/16.31, allocations: 229.7 kB / 5.641 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/16.31, allocations: 199.4 kB / 5.642 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005798/16.31, allocations: 152.5 kB / 5.642 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003002/16.31, allocations: 1.269 MB / 5.643 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.31e-07/16.31, allocations: 0 / 5.643 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02234/16.33, allocations: 3.68 MB / 5.647 GB, free: 21.32 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 (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.04254/16.38, allocations: 12.5 MB / 5.659 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02047/16.4, allocations: 7.441 MB / 5.666 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/16.4, allocations: 2.406 kB / 5.666 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005471/16.4, allocations: 2.043 MB / 5.668 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009711/16.41, allocations: 1.069 MB / 5.669 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/16.44, allocations: 7.952 MB / 5.677 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/16.45, allocations: 2.287 MB / 5.679 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01282/16.46, allocations: 2.567 MB / 5.682 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004214/16.46, allocations: 1.338 MB / 5.683 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/16.46, allocations: 3.5 kB / 5.683 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8764/17.34, allocations: 140.5 MB / 5.82 GB, free: 70.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/17.34, allocations: 196.8 kB / 5.82 GB, free: 70.66 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/25.57, allocations: 1.531 kB / 5.82 GB, free: 70.66 MB / 0.6667 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