Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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/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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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) 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 ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9212/0.9212, allocations: 127.1 MB / 142.1 MB, free: 10.86 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008725, allocations: 97.73 kB / 169.3 MB, free: 11.8 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 186 kB / 196.7 MB, free: 0.625 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.2 MB / 447.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1209/0.1209, allocations: 22.59 MB / 0.5344 GB, free: 0.6484 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 20.03 kB / 0.6275 GB, free: 80.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1831, allocations: 83.48 MB / 0.7091 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002423/0.1855, allocations: 1.886 MB / 0.7109 GB, free: 2.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007587/0.1863, allocations: 439.3 kB / 0.7113 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.1864, allocations: 0 / 0.7113 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.1864, allocations: 11.86 kB / 0.7113 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.1865, allocations: 11.88 kB / 0.7113 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1868, allocations: 27.95 kB / 0.7114 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1869, allocations: 71.77 kB / 0.7114 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1871, allocations: 16 kB / 0.7115 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1872, allocations: 31.84 kB / 0.7115 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1873, allocations: 35.83 kB / 0.7115 GB, free: 2.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1873, allocations: 4 kB / 0.7115 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.1873, allocations: 4 kB / 0.7115 GB, free: 2.078 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.1874, allocations: 15.92 kB / 0.7115 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1874, allocations: 33.7 kB / 0.7116 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.1875, allocations: 48.12 kB / 0.7116 GB, free: 1.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1875, allocations: 0 / 0.7116 GB, free: 1.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1875, allocations: 4 kB / 0.7116 GB, free: 1.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1875, allocations: 0 / 0.7116 GB, free: 1.973 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007168/0.1882, allocations: 407 kB / 0.712 GB, free: 1.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.1883, allocations: 16.02 kB / 0.712 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.1884, allocations: 38.55 kB / 0.7121 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1884, allocations: 11.86 kB / 0.7121 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1886, allocations: 188.6 kB / 0.7123 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1886, allocations: 0 / 0.7123 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1887, allocations: 11.94 kB / 0.7123 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.189, allocations: 109.6 kB / 0.7124 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.189, allocations: 0 / 0.7124 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1891, allocations: 0 / 0.7124 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1891, allocations: 3.953 kB / 0.7124 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.1894, allocations: 99.86 kB / 0.7125 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.1899, allocations: 324.7 kB / 0.7128 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.1905, allocations: 190.5 kB / 0.713 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.1906, allocations: 72.77 kB / 0.713 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1907, allocations: 7.938 kB / 0.713 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1907, allocations: 30.56 kB / 0.7131 GB, free: 328 kB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1907, allocations: 0 / 0.7131 GB, free: 328 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006209/0.1913, allocations: 217.5 kB / 0.7133 GB, free: 104 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1914, allocations: 55.34 kB / 0.7133 GB, free: 36 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1916, allocations: 131.8 kB / 0.7135 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.1916, allocations: 25.7 kB / 0.7135 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.1917, allocations: 100 kB / 0.7136 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1917, allocations: 23.73 kB / 0.7136 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1918, allocations: 0 / 0.7136 GB, free: 15.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.192, allocations: 314.8 kB / 0.7139 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1922, allocations: 63.95 kB / 0.714 GB, free: 15.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1924, allocations: 67.92 kB / 0.714 GB, free: 15.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1926, allocations: 59.97 kB / 0.7141 GB, free: 15.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1926, allocations: 0 / 0.7141 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004394/0.193, allocations: 173.5 kB / 0.7142 GB, free: 15.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1931, allocations: 4 kB / 0.7143 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1931, allocations: 0 / 0.7143 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1931, allocations: 0 / 0.7143 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1932, allocations: 35.91 kB / 0.7143 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1933, allocations: 0 / 0.7143 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.1934, allocations: 23.98 kB / 0.7143 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1934, allocations: 4.234 kB / 0.7143 GB, free: 14.99 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000138/0.1935, allocations: 118.5 kB / 0.7144 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1936, allocations: 11.86 kB / 0.7144 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1936, allocations: 12.31 kB / 0.7144 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1936, allocations: 0 / 0.7144 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1937, allocations: 3.938 kB / 0.7145 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1937, allocations: 7.984 kB / 0.7145 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.1939, allocations: 185.9 kB / 0.7146 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1939, allocations: 4 kB / 0.7146 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1941, allocations: 27.97 kB / 0.7147 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1941, allocations: 4 kB / 0.7147 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1941, allocations: 3.953 kB / 0.7147 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1941, allocations: 0 / 0.7147 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1942, allocations: 0 / 0.7147 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.1949, allocations: 343.2 kB / 0.715 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.195, allocations: 81.02 kB / 0.7151 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.195, allocations: 0 / 0.7151 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1952, allocations: 27.95 kB / 0.7151 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.1953, allocations: 4 kB / 0.7151 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1953, allocations: 7.984 kB / 0.7151 GB, free: 14.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.1954, allocations: 99.33 kB / 0.7152 GB, free: 13.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1954, allocations: 0 / 0.7152 GB, free: 13.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1956, allocations: 23.84 kB / 0.7152 GB, free: 13.96 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001153/0.1968, allocations: 0.849 MB / 0.7161 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1972, allocations: 128 kB / 0.7162 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1972, allocations: 4 kB / 0.7162 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1974, allocations: 67.89 kB / 0.7163 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1977, allocations: 8.938 kB / 0.7163 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1993, allocations: 0.7621 MB / 0.717 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1997, allocations: 0.6965 MB / 0.7177 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.134e-05/0.1998, allocations: 7.984 kB / 0.7177 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.1999, allocations: 15.44 kB / 0.7177 GB, free: 11.32 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1999, allocations: 0 / 0.7177 GB, free: 11.32 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.2142, allocations: 1.731 MB / 0.7194 GB, free: 9.73 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.2145, allocations: 199 kB / 0.7196 GB, free: 9.477 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.109, allocations: 2.875 kB / 0.7196 GB, free: 9.477 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat does not exist to compare? outputFormat=mat