Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_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.001054/0.001054, allocations: 174.4 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.593/1.593, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.0009062/0.0009062, allocations: 80.14 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.567/1.566, allocations: 120.5 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.059e-05, allocations: 0 / 0.5368 GB, free: 11.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7824, allocations: 82.84 MB / 0.6177 GB, free: 9.285 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.978, allocations: 125.5 MB / 0.7402 GB, free: 11.63 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.9783, allocations: 51.84 kB / 0.7403 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0357/1.014, allocations: 10.8 MB / 0.7508 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.173e-06/1.014, allocations: 0 / 0.7508 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.87e-05/1.014, allocations: 12 kB / 0.7509 GB, free: 0.7305 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.8576/1.872, allocations: 1.348 MB / 0.7522 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.872, allocations: 14.11 kB / 0.7522 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003564/1.872, allocations: 99.89 kB / 0.7523 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/1.872, allocations: 66.14 kB / 0.7523 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/1.874, allocations: 419 kB / 0.7527 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/1.874, allocations: 57.78 kB / 0.7528 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/1.874, allocations: 100.6 kB / 0.7529 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/1.876, allocations: 0.855 MB / 0.7537 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.876, allocations: 0.5625 kB / 0.7537 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/1.876, allocations: 24.5 kB / 0.7537 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.876, allocations: 20.67 kB / 0.7538 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/1.877, allocations: 0.7417 MB / 0.7545 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006405/1.884, allocations: 4.356 MB / 0.7587 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.885, allocations: 0.9544 MB / 0.7597 GB, free: 125 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/1.886, allocations: 0.6479 MB / 0.7603 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/1.887, allocations: 10.47 kB / 0.7603 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.887, allocations: 43.78 kB / 0.7604 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/1.887, allocations: 0 / 0.7604 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002281/1.889, allocations: 1.154 MB / 0.7615 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.889, allocations: 73.2 kB / 0.7616 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/1.889, allocations: 132.7 kB / 0.7617 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/1.889, allocations: 46.2 kB / 0.7617 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/1.889, allocations: 155.8 kB / 0.7619 GB, free: 124 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.889, allocations: 413.8 kB / 0.7623 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/1.889, allocations: 29.5 kB / 0.7623 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/1.89, allocations: 369.3 kB / 0.7627 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008476/1.89, allocations: 0.5546 MB / 0.7632 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/1.891, allocations: 0.6386 MB / 0.7638 GB, free: 123 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/1.892, allocations: 0.6379 MB / 0.7644 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.892, allocations: 0 / 0.7644 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001823/1.894, allocations: 1.428 MB / 0.7658 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.894, allocations: 3.844 kB / 0.7658 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.894, allocations: 3.5 kB / 0.7658 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.894, allocations: 3.969 kB / 0.7658 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/1.896, allocations: 0.5269 MB / 0.7664 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.896, allocations: 6.688 kB / 0.7664 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/1.897, allocations: 130.3 kB / 0.7665 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/1.897, allocations: 39.92 kB / 0.7665 GB, free: 122.3 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 (157): * Single equations (assignments): 157 * 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.0001727/1.897, allocations: 159.6 kB / 0.7667 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.897, allocations: 41.89 kB / 0.7667 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/1.898, allocations: 144.1 kB / 0.7669 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.898, allocations: 11.38 kB / 0.7669 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.898, allocations: 0 / 0.7669 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.898, allocations: 3.797 kB / 0.7669 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/1.898, allocations: 0.8 MB / 0.7677 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.898, allocations: 3 kB / 0.7677 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.901, allocations: 0.5296 MB / 0.7682 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.901, allocations: 3.625 kB / 0.7682 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.901, allocations: 44.92 kB / 0.7682 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.901, allocations: 3.656 kB / 0.7682 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.901, allocations: 7.875 kB / 0.7682 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/1.903, allocations: 1.928 MB / 0.7701 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/1.903, allocations: 124.4 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.904, allocations: 39.64 kB / 0.7703 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/1.904, allocations: 70.55 kB / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.905, allocations: 55.36 kB / 0.7704 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/1.905, allocations: 31.75 kB / 0.7704 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.939e-05/1.905, allocations: 96.66 kB / 0.7705 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/1.905, allocations: 0 / 0.7705 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000537/1.905, allocations: 311.8 kB / 0.7708 GB, free: 119.5 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 99 * 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.002602/1.908, allocations: 2.528 MB / 0.7733 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.909, allocations: 1.291 MB / 0.7745 GB, free: 116 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.909, allocations: 4 kB / 0.7745 GB, free: 116 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007474/1.91, allocations: 0.6378 MB / 0.7752 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/1.911, allocations: 119.4 kB / 0.7753 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/1.916, allocations: 5.344 MB / 0.7805 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/1.917, allocations: 0.9236 MB / 0.7814 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0009542/1.918, allocations: 396.2 kB / 0.7818 GB, free: 109.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.918, allocations: 181.8 kB / 0.782 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of SimCode: time 1.203e-06/1.918, allocations: 0 / 0.782 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.494/5.412, allocations: 15.87 MB / 0.7975 GB, free: 94.21 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/5.412, allocations: 212.3 kB / 0.7977 GB, free: 93.98 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/7.643, allocations: 2.656 kB / 0.7977 GB, free: 93.98 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat