Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.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.Advection.ScaledExperiments.SteamPipe_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20",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.001158/0.001158, allocations: 175.5 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.475/1.475, allocations: 221.3 MB / 235.5 MB, free: 2.898 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.00102/0.00102, allocations: 95.78 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.016/1.016, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 4 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6537/0.6537, allocations: 82.83 MB / 0.6167 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.878/9.532, allocations: 2.809 GB / 3.426 GB, free: 188 MB / 0.714 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/9.532, allocations: 69.28 kB / 3.426 GB, free: 188 MB / 0.714 GB Notification: Performance of FrontEnd - DAE generated: time 0.2822/9.815, allocations: 108.9 MB / 3.533 GB, free: 123.6 MB / 0.714 GB Notification: Performance of FrontEnd: time 2.385e-06/9.815, allocations: 0 / 3.533 GB, free: 123.6 MB / 0.714 GB Notification: Performance of Transformations before backend: time 2.515e-05/9.815, allocations: 16 kB / 3.533 GB, free: 123.6 MB / 0.714 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.008451/9.823, allocations: 1.977 MB / 3.535 GB, free: 121.6 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/9.823, allocations: 16.03 kB / 3.535 GB, free: 121.6 MB / 0.714 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/9.824, allocations: 177.1 kB / 3.535 GB, free: 121.5 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/9.824, allocations: 178.1 kB / 3.535 GB, free: 121.3 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/9.825, allocations: 0.4999 MB / 3.535 GB, free: 120.8 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/9.826, allocations: 80.69 kB / 3.535 GB, free: 120.8 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/9.826, allocations: 125.8 kB / 3.536 GB, free: 120.7 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/9.829, allocations: 1.885 MB / 3.537 GB, free: 119.1 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/9.829, allocations: 7.938 kB / 3.537 GB, free: 119.1 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/9.829, allocations: 54.69 kB / 3.538 GB, free: 119.1 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/9.829, allocations: 31.95 kB / 3.538 GB, free: 119.1 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/9.832, allocations: 1.661 MB / 3.539 GB, free: 117.8 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/9.837, allocations: 4.461 MB / 3.544 GB, free: 113.6 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/9.839, allocations: 1.88 MB / 3.545 GB, free: 112.4 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008554/9.84, allocations: 0.7143 MB / 3.546 GB, free: 111.9 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05645/9.897, allocations: 32.01 MB / 3.577 GB, free: 76.68 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/9.897, allocations: 55.36 kB / 3.577 GB, free: 76.62 MB / 0.714 GB Notification: Performance of pre-optimization done (n=142): time 3.266e-06/9.897, allocations: 0 / 3.577 GB, free: 76.62 MB / 0.714 GB Notification: Performance of matching and sorting (n=202): time 0.07746/9.974, allocations: 20.12 MB / 3.597 GB, free: 58.05 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/9.974, allocations: 73.41 kB / 3.597 GB, free: 57.97 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/9.975, allocations: 200.9 kB / 3.597 GB, free: 57.8 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/9.975, allocations: 56.64 kB / 3.597 GB, free: 57.76 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/9.975, allocations: 281.1 kB / 3.598 GB, free: 57.5 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/9.975, allocations: 0.7428 MB / 3.598 GB, free: 56.85 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/9.975, allocations: 38.69 kB / 3.598 GB, free: 56.84 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 0.0001114/9.975, allocations: 409.4 kB / 3.599 GB, free: 56.47 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/9.977, allocations: 0.9773 MB / 3.6 GB, free: 55.75 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/9.978, allocations: 1.235 MB / 3.601 GB, free: 54.74 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/9.979, allocations: 1.184 MB / 3.602 GB, free: 53.84 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/9.979, allocations: 4 kB / 3.602 GB, free: 53.84 MB / 0.714 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003674/9.983, allocations: 2.99 MB / 3.605 GB, free: 51.45 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/9.983, allocations: 12.12 kB / 3.605 GB, free: 51.44 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/9.983, allocations: 4 kB / 3.605 GB, free: 51.43 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/9.986, allocations: 0.7548 MB / 3.606 GB, free: 50.7 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/9.987, allocations: 462.6 kB / 3.606 GB, free: 50.26 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/9.992, allocations: 11.4 MB / 3.617 GB, free: 38.62 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/9.993, allocations: 102.6 kB / 3.617 GB, free: 38.56 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/9.993, allocations: 82.98 kB / 3.617 GB, free: 38.5 MB / 0.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 20 (state[20].phase,state[19].phase,state[18].phase,state[17].phase,state[16].phase,state[15].phase,state[14].phase,state[13].phase,state[12].phase,state[11].phase,state[10].phase,state[9].phase,state[8].phase,state[7].phase,state[6].phase,state[5].phase,state[4].phase,state[3].phase,state[2].phase,state[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 222 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003778/9.994, allocations: 230.1 kB / 3.618 GB, free: 38.32 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/9.994, allocations: 79.14 kB / 3.618 GB, free: 38.25 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00813/10, allocations: 8.305 MB / 3.626 GB, free: 32.62 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.122e-05/10, allocations: 79.19 kB / 3.626 GB, free: 32.57 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/10, allocations: 4 kB / 3.626 GB, free: 32.56 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/10, allocations: 15.92 kB / 3.626 GB, free: 32.55 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/10.01, allocations: 3.105 MB / 3.629 GB, free: 30.46 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/10.01, allocations: 7.922 kB / 3.629 GB, free: 30.45 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/10.01, allocations: 346.3 kB / 3.629 GB, free: 30.12 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004035/10.01, allocations: 1.289 MB / 3.631 GB, free: 28.97 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/10.01, allocations: 86.05 kB / 3.631 GB, free: 28.91 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/10.02, allocations: 12.12 MB / 3.643 GB, free: 16.89 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/10.02, allocations: 0 / 3.643 GB, free: 16.89 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009362/10.03, allocations: 8.246 MB / 3.651 GB, free: 11.36 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/10.03, allocations: 258.4 kB / 3.651 GB, free: 11.09 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/10.03, allocations: 73.52 kB / 3.651 GB, free: 11.04 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/10.03, allocations: 89.89 kB / 3.651 GB, free: 10.98 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/10.03, allocations: 136.9 kB / 3.651 GB, free: 10.86 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/10.03, allocations: 70.83 kB / 3.651 GB, free: 10.8 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.0001705/10.03, allocations: 135.6 kB / 3.651 GB, free: 10.69 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.4e-07/10.03, allocations: 0 / 3.651 GB, free: 10.69 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.00761/10.04, allocations: 1.228 MB / 3.653 GB, free: 9.547 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15],p[16],p[17],p[18],p[19],p[20],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15],h[16],h[17],h[18],h[19],h[20]) * Number of discrete variables: 40 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01608/10.05, allocations: 9.834 MB / 3.662 GB, free: 2.457 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.5278/10.58, allocations: 3.666 MB / 3.666 GB, free: 218.6 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/10.58, allocations: 0 / 3.666 GB, free: 218.6 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.006846/10.59, allocations: 2.878 MB / 3.669 GB, free: 218.6 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/10.59, allocations: 399.8 kB / 3.669 GB, free: 218.6 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/10.61, allocations: 7.884 MB / 3.677 GB, free: 217.6 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/10.61, allocations: 1.55 MB / 3.678 GB, free: 216.9 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.002316/10.61, allocations: 1.044 MB / 3.679 GB, free: 216.8 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008818/10.61, allocations: 0.6404 MB / 3.68 GB, free: 216.8 MB / 0.714 GB Notification: Performance of SimCode: time 2.264e-06/10.61, allocations: 3.938 kB / 3.68 GB, free: 216.8 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/10.75, allocations: 62.93 MB / 3.741 GB, free: 213.2 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/10.75, allocations: 201.5 kB / 3.741 GB, free: 212.9 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.816/15.56, allocations: 0 / 3.741 GB, free: 212.9 MB / 0.714 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat does not exist to compare? outputFormat=mat