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.001033/0.001033, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.5 MB / 230.3 MB, free: 7.555 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.0008854/0.0008857, allocations: 87.56 kB / 281.2 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.587/1.587, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.932e-05, allocations: 4 kB / 0.5296 GB, free: 464 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7979, allocations: 82.83 MB / 0.6105 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.9975, allocations: 124.8 MB / 0.7324 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.9978, allocations: 51.92 kB / 0.7325 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01953/1.017, allocations: 5.643 MB / 0.738 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.404e-06/1.017, allocations: 0 / 0.738 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.268e-05/1.018, allocations: 8 kB / 0.738 GB, free: 10.26 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.00168/1.019, allocations: 0.7678 MB / 0.7388 GB, free: 9.445 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.019, allocations: 8.031 kB / 0.7388 GB, free: 9.438 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/1.019, allocations: 35.67 kB / 0.7388 GB, free: 9.402 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/1.02, allocations: 291.2 kB / 0.7391 GB, free: 9.074 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/1.02, allocations: 12 kB / 0.7391 GB, free: 9.062 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/1.02, allocations: 35.91 kB / 0.7391 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00061/1.021, allocations: 352.9 kB / 0.7395 GB, free: 8.684 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/1.021, allocations: 391.5 kB / 0.7398 GB, free: 8.293 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.021, allocations: 0 / 0.7398 GB, free: 8.293 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/1.021, allocations: 0 / 0.7398 GB, free: 8.293 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.021, allocations: 11.95 kB / 0.7398 GB, free: 8.281 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/1.025, allocations: 2.108 MB / 0.7419 GB, free: 5.91 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/1.025, allocations: 459.1 kB / 0.7423 GB, free: 5.453 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/1.026, allocations: 296.6 kB / 0.7426 GB, free: 5.164 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/1.026, allocations: 4.438 kB / 0.7426 GB, free: 5.16 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.026, allocations: 35 kB / 0.7427 GB, free: 5.117 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 1.633e-06/1.026, allocations: 4 kB / 0.7427 GB, free: 5.113 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.0009665/1.027, allocations: 0.5364 MB / 0.7432 GB, free: 4.57 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.027, allocations: 55.84 kB / 0.7432 GB, free: 4.504 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.027, allocations: 127.2 kB / 0.7434 GB, free: 4.375 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/1.027, allocations: 25.7 kB / 0.7434 GB, free: 4.344 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/1.027, allocations: 121.1 kB / 0.7435 GB, free: 4.223 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/1.028, allocations: 197 kB / 0.7437 GB, free: 4.027 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/1.028, allocations: 0 / 0.7437 GB, free: 4.027 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.028, allocations: 342.8 kB / 0.744 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/1.028, allocations: 257.4 kB / 0.7443 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/1.029, allocations: 308.6 kB / 0.7446 GB, free: 3.125 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/1.029, allocations: 304.4 kB / 0.7448 GB, free: 2.828 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.029, allocations: 0 / 0.7448 GB, free: 2.828 MB / 0.5419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001017/1.03, allocations: 0.6483 MB / 0.7455 GB, free: 2.172 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.03, allocations: 7.984 kB / 0.7455 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.03, allocations: 4 kB / 0.7455 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.03, allocations: 0 / 0.7455 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.031, allocations: 259.7 kB / 0.7457 GB, free: 1.906 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.031, allocations: 7.953 kB / 0.7457 GB, free: 1.898 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.032, allocations: 51.39 kB / 0.7458 GB, free: 1.848 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/1.032, allocations: 16 kB / 0.7458 GB, free: 1.832 MB / 0.5419 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.0001476/1.032, allocations: 120.8 kB / 0.7459 GB, free: 1.707 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008467/1.033, allocations: 0.5363 MB / 0.7464 GB, free: 1.168 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/1.033, allocations: 23.72 kB / 0.7465 GB, free: 1.145 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/1.033, allocations: 70.14 kB / 0.7465 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.033, allocations: 8 kB / 0.7465 GB, free: 1.066 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.033, allocations: 0 / 0.7465 GB, free: 1.066 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.033, allocations: 7.984 kB / 0.7465 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/1.034, allocations: 410 kB / 0.7469 GB, free: 0.6211 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.034, allocations: 0 / 0.7469 GB, free: 0.6211 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.035, allocations: 255.8 kB / 0.7472 GB, free: 380 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.035, allocations: 4 kB / 0.7472 GB, free: 376 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/1.035, allocations: 15.98 kB / 0.7472 GB, free: 360 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.017e-05/1.035, allocations: 3.953 kB / 0.7472 GB, free: 356 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.035, allocations: 4 kB / 0.7472 GB, free: 352 kB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8415/1.877, allocations: 0.9431 MB / 0.7481 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/1.877, allocations: 97.97 kB / 0.7482 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/1.877, allocations: 12.11 kB / 0.7482 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/1.877, allocations: 26.36 kB / 0.7483 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.877, allocations: 30.78 kB / 0.7483 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/1.877, allocations: 13.06 kB / 0.7483 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.586e-05/1.877, allocations: 98.77 kB / 0.7484 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/1.877, allocations: 0 / 0.7484 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005426/1.878, allocations: 133.1 kB / 0.7485 GB, free: 134.6 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.001684/1.88, allocations: 1.512 MB / 0.75 GB, free: 134 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.881, allocations: 0.5941 MB / 0.7506 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.881, allocations: 0 / 0.7506 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004631/1.881, allocations: 297.9 kB / 0.7509 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/1.882, allocations: 55.56 kB / 0.7509 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/1.885, allocations: 2.494 MB / 0.7534 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.886, allocations: 0.8038 MB / 0.7541 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006181/1.886, allocations: 185 kB / 0.7543 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.887, allocations: 93.52 kB / 0.7544 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of SimCode: time 3.41e-07/1.887, allocations: 2.812 kB / 0.7544 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/1.922, allocations: 7.738 MB / 0.762 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/1.922, allocations: 206.6 kB / 0.7622 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/3.835, allocations: 7.5 kB / 0.7622 GB, free: 129.8 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