Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.0009851/0.0009849, 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.513/1.513, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.000893/0.000893, allocations: 91.45 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.56/1.56, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.632e-05, allocations: 0 / 0.5296 GB, free: 432 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7857, allocations: 82.84 MB / 0.6105 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.9814, allocations: 124.8 MB / 0.7324 GB, free: 15.99 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.9817, allocations: 51.88 kB / 0.7325 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.9991, allocations: 5.422 MB / 0.7378 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9992, allocations: 7.938 kB / 0.7378 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.9992, allocations: 4 kB / 0.7378 GB, free: 10.47 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.001737/1.001, allocations: 0.7562 MB / 0.7385 GB, free: 9.668 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 7.298e-05/1.001, allocations: 16.02 kB / 0.7385 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.001, allocations: 35.67 kB / 0.7386 GB, free: 9.617 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/1.002, allocations: 287.2 kB / 0.7388 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/1.002, allocations: 8 kB / 0.7388 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.606e-05/1.002, allocations: 43.83 kB / 0.7389 GB, free: 9.242 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006324/1.003, allocations: 353 kB / 0.7392 GB, free: 8.898 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/1.003, allocations: 391.5 kB / 0.7396 GB, free: 8.508 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.003, allocations: 0 / 0.7396 GB, free: 8.508 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/1.003, allocations: 3.984 kB / 0.7396 GB, free: 8.504 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.003, allocations: 11.95 kB / 0.7396 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/1.007, allocations: 2.104 MB / 0.7417 GB, free: 6.129 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/1.007, allocations: 467.1 kB / 0.7421 GB, free: 5.664 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/1.008, allocations: 296.7 kB / 0.7424 GB, free: 5.375 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/1.008, allocations: 4.438 kB / 0.7424 GB, free: 5.371 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.008, allocations: 50.98 kB / 0.7424 GB, free: 5.312 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/1.008, allocations: 0 / 0.7424 GB, free: 5.312 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.0009406/1.009, allocations: 0.5403 MB / 0.743 GB, free: 4.766 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.009, allocations: 55.84 kB / 0.743 GB, free: 4.699 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.009, allocations: 122.9 kB / 0.7431 GB, free: 4.574 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/1.009, allocations: 25.7 kB / 0.7432 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/1.009, allocations: 117.1 kB / 0.7433 GB, free: 4.426 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/1.009, allocations: 201.1 kB / 0.7435 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/1.009, allocations: 0 / 0.7435 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.01, allocations: 346.8 kB / 0.7438 GB, free: 3.879 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/1.01, allocations: 261.4 kB / 0.744 GB, free: 3.621 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/1.01, allocations: 296.6 kB / 0.7443 GB, free: 3.328 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/1.011, allocations: 300.4 kB / 0.7446 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.011, allocations: 0 / 0.7446 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009756/1.012, allocations: 0.66 MB / 0.7453 GB, free: 2.367 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.012, allocations: 4 kB / 0.7453 GB, free: 2.363 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/1.012, allocations: 4.031 kB / 0.7453 GB, free: 2.359 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.012, allocations: 4 kB / 0.7453 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.013, allocations: 263.7 kB / 0.7455 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.013, allocations: 3.953 kB / 0.7455 GB, free: 2.094 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/1.013, allocations: 51.41 kB / 0.7456 GB, free: 2.043 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/1.013, allocations: 23.94 kB / 0.7456 GB, free: 2.02 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.0001407/1.014, allocations: 116.9 kB / 0.7457 GB, free: 1.898 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008604/1.014, allocations: 0.5402 MB / 0.7462 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/1.014, allocations: 23.72 kB / 0.7463 GB, free: 1.332 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/1.015, allocations: 74.12 kB / 0.7463 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.015, allocations: 4 kB / 0.7463 GB, free: 1.254 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.015, allocations: 4 kB / 0.7463 GB, free: 1.25 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.015, allocations: 0 / 0.7463 GB, free: 1.25 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/1.015, allocations: 410 kB / 0.7467 GB, free: 0.8125 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.015, allocations: 0 / 0.7467 GB, free: 0.8125 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.017, allocations: 255.8 kB / 0.747 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/1.017, allocations: 7.984 kB / 0.747 GB, free: 0.5547 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/1.017, allocations: 15.98 kB / 0.747 GB, free: 0.5391 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/1.017, allocations: 7.953 kB / 0.747 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.017, allocations: 0 / 0.747 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8546/1.871, allocations: 0.9427 MB / 0.7479 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1.872, allocations: 101.4 kB / 0.748 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/1.872, allocations: 11.94 kB / 0.748 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/1.872, allocations: 24.84 kB / 0.7481 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.872, allocations: 29.59 kB / 0.7481 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/1.872, allocations: 13.14 kB / 0.7481 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 7.225e-05/1.872, allocations: 98.02 kB / 0.7482 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.31e-07/1.872, allocations: 0 / 0.7482 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005485/1.873, allocations: 136.1 kB / 0.7483 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.001979/1.875, allocations: 1.512 MB / 0.7498 GB, free: 134 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.876, allocations: 0.5968 MB / 0.7504 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/1.876, allocations: 0 / 0.7504 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/1.877, allocations: 300.6 kB / 0.7507 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.0004388/1.877, allocations: 57.78 kB / 0.7507 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/1.881, allocations: 2.478 MB / 0.7531 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.882, allocations: 0.8038 MB / 0.7539 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006952/1.882, allocations: 175.8 kB / 0.7541 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.883, allocations: 96.34 kB / 0.7542 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of SimCode: time 1.312e-06/1.883, allocations: 0.9375 kB / 0.7542 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04338/1.926, allocations: 7.74 MB / 0.7617 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.926, allocations: 200.6 kB / 0.7619 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/4.045, allocations: 2.25 kB / 0.7619 GB, free: 129.8 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat