Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",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.001066/0.001066, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.602/1.602, allocations: 221.4 MB / 235.5 MB, free: 2.945 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.0011/0.0011, allocations: 83.61 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.558/1.558, allocations: 120.5 MB / 457.9 MB, free: 7.027 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.473e-05, allocations: 4 kB / 0.5368 GB, free: 11.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7852, allocations: 82.83 MB / 0.6177 GB, free: 9.289 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.9832, allocations: 125.5 MB / 0.7402 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.9834, allocations: 55.78 kB / 0.7403 GB, free: 11.6 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01798/1.001, allocations: 5.68 MB / 0.7458 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.312e-06/1.001, allocations: 0 / 0.7458 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.002, allocations: 8 kB / 0.7458 GB, free: 5.883 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001557/1.003, allocations: 0.7601 MB / 0.7466 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.003, allocations: 12.02 kB / 0.7466 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.552e-05/1.003, allocations: 66.55 kB / 0.7466 GB, free: 4.988 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/1.003, allocations: 31.67 kB / 0.7467 GB, free: 4.957 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/1.004, allocations: 291.1 kB / 0.747 GB, free: 4.629 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/1.004, allocations: 28.56 kB / 0.747 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-05/1.004, allocations: 47.91 kB / 0.747 GB, free: 4.555 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/1.005, allocations: 436.6 kB / 0.7474 GB, free: 4.121 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.005, allocations: 0 / 0.7474 GB, free: 4.121 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/1.005, allocations: 12 kB / 0.7475 GB, free: 4.109 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/1.005, allocations: 11.94 kB / 0.7475 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/1.005, allocations: 362 kB / 0.7478 GB, free: 3.746 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/1.008, allocations: 2.175 MB / 0.7499 GB, free: 1.293 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/1.009, allocations: 460 kB / 0.7504 GB, free: 0.8359 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/1.01, allocations: 310.1 kB / 0.7507 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/1.01, allocations: 8.438 kB / 0.7507 GB, free: 0.5234 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.01, allocations: 46.89 kB / 0.7507 GB, free: 480 kB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 1.603e-06/1.01, allocations: 0 / 0.7507 GB, free: 480 kB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.8531/1.863, allocations: 0.5558 MB / 0.7513 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/1.863, allocations: 57.67 kB / 0.7513 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.863, allocations: 123.2 kB / 0.7514 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/1.863, allocations: 38.3 kB / 0.7515 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/1.863, allocations: 123.1 kB / 0.7516 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/1.864, allocations: 202.5 kB / 0.7518 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/1.864, allocations: 15.22 kB / 0.7518 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/1.864, allocations: 340.6 kB / 0.7521 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/1.864, allocations: 267.2 kB / 0.7524 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/1.865, allocations: 319.7 kB / 0.7527 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/1.865, allocations: 314.5 kB / 0.753 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.865, allocations: 3.125 kB / 0.753 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00131/1.867, allocations: 0.7059 MB / 0.7537 GB, free: 131 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.867, allocations: 5.219 kB / 0.7537 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.867, allocations: 2.438 kB / 0.7537 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/1.867, allocations: 3.75 kB / 0.7537 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.868, allocations: 259 kB / 0.7539 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/1.868, allocations: 9.578 kB / 0.7539 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/1.868, allocations: 62.67 kB / 0.754 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/1.869, allocations: 17.06 kB / 0.754 GB, free: 131 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.869, allocations: 129.4 kB / 0.7541 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/1.869, allocations: 25.38 kB / 0.7542 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/1.869, allocations: 78.08 kB / 0.7542 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.869, allocations: 4.531 kB / 0.7542 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.869, allocations: 3.594 kB / 0.7543 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.869, allocations: 10.97 kB / 0.7543 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/1.87, allocations: 470 kB / 0.7547 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.87, allocations: 0.8438 kB / 0.7547 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.871, allocations: 262.2 kB / 0.755 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.871, allocations: 1.938 kB / 0.755 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/1.871, allocations: 18.55 kB / 0.755 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.871, allocations: 2.328 kB / 0.755 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.871, allocations: 0.8125 kB / 0.755 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/1.873, allocations: 0.9889 MB / 0.756 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/1.873, allocations: 100.5 kB / 0.756 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/1.873, allocations: 21.72 kB / 0.7561 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/1.873, allocations: 34.05 kB / 0.7561 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.874, allocations: 25.22 kB / 0.7561 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/1.874, allocations: 14.45 kB / 0.7561 GB, free: 130 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.908e-05/1.874, allocations: 99.5 kB / 0.7562 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.874, allocations: 3.938 kB / 0.7562 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004862/1.874, allocations: 156.5 kB / 0.7564 GB, free: 129.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002/1.876, allocations: 1.54 MB / 0.7579 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.877, allocations: 0.6206 MB / 0.7585 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.877, allocations: 0 / 0.7585 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005225/1.878, allocations: 312 kB / 0.7588 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/1.878, allocations: 62.94 kB / 0.7589 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/1.882, allocations: 2.527 MB / 0.7613 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/1.883, allocations: 0.8099 MB / 0.7621 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005525/1.883, allocations: 185.7 kB / 0.7623 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/1.884, allocations: 91.5 kB / 0.7624 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of SimCode: time 7.31e-07/1.884, allocations: 0 / 0.7624 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/4.273, allocations: 8.216 MB / 0.7704 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/4.274, allocations: 212 kB / 0.7706 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/6.477, allocations: 3.094 kB / 0.7706 GB, free: 122.1 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat