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.0009936/0.0009939, allocations: 196.2 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008455/0.0008455, allocations: 91.33 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 45.15 MB / 389.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.838e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 63.25 MB / 0.5115 GB, free: 6.664 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.836/6.941, allocations: 3.449 GB / 3.961 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/6.942, allocations: 87.89 kB / 3.961 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.793/12.73, allocations: 1.562 GB / 5.523 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/12.73, allocations: 0 / 5.523 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00023/12.73, allocations: 81.08 kB / 5.523 GB, free: 21.51 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.02861/12.76, allocations: 8.467 MB / 5.531 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/12.76, allocations: 16.03 kB / 5.531 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00126/12.76, allocations: 421.1 kB / 5.532 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/12.77, allocations: 391.8 kB / 5.532 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/12.77, allocations: 2.108 MB / 5.534 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/12.77, allocations: 0.497 MB / 5.535 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005754/12.77, allocations: 287.9 kB / 5.535 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/12.78, allocations: 4.784 MB / 5.54 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.052e-05/12.78, allocations: 11.94 kB / 5.54 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004547/12.78, allocations: 123.9 kB / 5.54 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/12.78, allocations: 257.2 kB / 5.54 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007663/12.79, allocations: 4.811 MB / 5.545 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4363/13.22, allocations: 20.88 MB / 5.565 GB, free: 30.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/13.23, allocations: 2.526 MB / 5.568 GB, free: 30.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/13.23, allocations: 1.526 MB / 5.569 GB, free: 30.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/13.23, allocations: 3.316 MB / 5.572 GB, free: 27.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/13.23, allocations: 69.89 kB / 5.572 GB, free: 27.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 3.978e-06/13.23, allocations: 0 / 5.572 GB, free: 27.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.05297/13.29, allocations: 14.11 MB / 5.586 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/13.29, allocations: 236 kB / 5.586 GB, free: 26.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/13.29, allocations: 2.179 MB / 5.588 GB, free: 25.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005599/13.29, allocations: 83.33 kB / 5.589 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/13.29, allocations: 1.464 MB / 5.59 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/13.29, allocations: 0.947 MB / 5.591 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/13.29, allocations: 78.97 kB / 5.591 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002013/13.29, allocations: 467.2 kB / 5.591 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/13.3, allocations: 1.815 MB / 5.593 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/13.3, allocations: 3.02 MB / 5.596 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/13.3, allocations: 2.377 MB / 5.598 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/13.3, allocations: 13.38 kB / 5.598 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01001/13.31, allocations: 5.673 MB / 5.604 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.004127/13.32, allocations: 15.22 MB / 5.619 GB, free: 22.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.043e-05/13.32, allocations: 43.23 kB / 5.619 GB, free: 22.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/13.32, allocations: 0.7277 MB / 5.62 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/13.32, allocations: 0.8959 MB / 5.621 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/13.33, allocations: 2.455 MB / 5.623 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/13.33, allocations: 390.1 kB / 5.623 GB, free: 21.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007799/13.33, allocations: 240.5 kB / 5.624 GB, free: 21.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/13.33, allocations: 6.438 kB / 5.624 GB, free: 21.19 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008606/13.34, allocations: 5.3 MB / 5.629 GB, free: 20.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.043e-05/13.34, allocations: 36.59 kB / 5.629 GB, free: 20.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/13.34, allocations: 0.7282 MB / 5.629 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/13.35, allocations: 0.8896 MB / 5.63 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/13.35, allocations: 2.454 MB / 5.633 GB, free: 19.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/13.35, allocations: 382.5 kB / 5.633 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007414/13.35, allocations: 239.4 kB / 5.633 GB, free: 19.36 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.001243/13.36, allocations: 358.3 kB / 5.634 GB, free: 19.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009404/13.36, allocations: 303.3 kB / 5.634 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009328/13.37, allocations: 5.88 MB / 5.64 GB, free: 18.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/13.37, allocations: 40.88 kB / 5.64 GB, free: 18.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/13.37, allocations: 0 / 5.64 GB, free: 18.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/13.37, allocations: 19.55 kB / 5.64 GB, free: 18.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/13.38, allocations: 8.263 MB / 5.648 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/13.38, allocations: 0 / 5.648 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/13.38, allocations: 0.5298 MB / 5.648 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/13.39, allocations: 0.9106 MB / 5.649 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/13.39, allocations: 105.1 kB / 5.649 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/13.39, allocations: 2.346 MB / 5.652 GB, free: 16.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/13.39, allocations: 1.75 kB / 5.652 GB, free: 16.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009993/13.4, allocations: 6.566 MB / 5.658 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/13.4, allocations: 0.8816 MB / 5.659 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009822/13.4, allocations: 71.5 kB / 5.659 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/13.41, allocations: 283.4 kB / 5.659 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/13.41, allocations: 192 kB / 5.659 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003381/13.41, allocations: 154.6 kB / 5.66 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00267/13.41, allocations: 1.676 MB / 5.661 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/13.41, allocations: 0 / 5.661 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0162/13.42, allocations: 3.977 MB / 5.665 GB, free: 15.61 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.02248/13.45, allocations: 11.87 MB / 5.677 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01282/13.46, allocations: 7.784 MB / 5.684 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/13.46, allocations: 6.844 kB / 5.684 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003389/13.46, allocations: 2.108 MB / 5.686 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007148/13.47, allocations: 1.314 MB / 5.688 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/13.49, allocations: 8.302 MB / 5.696 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/13.49, allocations: 2.295 MB / 5.698 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007394/13.5, allocations: 2.748 MB / 5.701 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/13.5, allocations: 1.354 MB / 5.702 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of SimCode: time 8.91e-07/13.5, allocations: 2.125 kB / 5.702 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6874/14.19, allocations: 173.2 MB / 5.871 GB, free: 76 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/14.19, allocations: 245.8 kB / 5.871 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/22.19, allocations: 3.562 kB / 5.871 GB, free: 75.67 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