Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.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.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar",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.9131/0.9131, allocations: 127.1 MB / 142.1 MB, free: 10.87 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.000799/0.0007992, allocations: 103.6 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.001072/0.001072, allocations: 184.1 kB / 196.7 MB, free: 0.6211 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.686/1.686, allocations: 223.2 MB / 447.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1056/0.1056, allocations: 22.58 MB / 0.5344 GB, free: 0.6523 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.0004957/0.0004957, allocations: 11.03 kB / 0.6275 GB, free: 80.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1848, allocations: 83.48 MB / 0.709 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.002021/0.1868, allocations: 1.876 MB / 0.7109 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.1875, allocations: 435.3 kB / 0.7113 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.1876, allocations: 0 / 0.7113 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1877, allocations: 7.922 kB / 0.7113 GB, free: 2.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.1877, allocations: 15.81 kB / 0.7113 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.1879, allocations: 27.95 kB / 0.7113 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1881, allocations: 87.64 kB / 0.7114 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.1882, allocations: 13.12 kB / 0.7114 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.1883, allocations: 27.86 kB / 0.7115 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.1884, allocations: 43.77 kB / 0.7115 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1884, allocations: 4 kB / 0.7115 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.1884, allocations: 4 kB / 0.7115 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.1884, allocations: 15.91 kB / 0.7115 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1885, allocations: 37.64 kB / 0.7116 GB, free: 2.059 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.653e-05/0.1886, allocations: 52.12 kB / 0.7116 GB, free: 2.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1886, allocations: 0 / 0.7116 GB, free: 2.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1886, allocations: 4 kB / 0.7116 GB, free: 2.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1886, allocations: 0 / 0.7116 GB, free: 2.004 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004872/0.1891, allocations: 394.9 kB / 0.712 GB, free: 1.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1891, allocations: 20 kB / 0.712 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1892, allocations: 38.5 kB / 0.712 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.1892, allocations: 15.86 kB / 0.7121 GB, free: 1.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.1894, allocations: 196.2 kB / 0.7123 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1894, allocations: 8 kB / 0.7123 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1894, allocations: 4 kB / 0.7123 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1897, allocations: 123.1 kB / 0.7124 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1897, allocations: 4 kB / 0.7124 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1897, allocations: 4 kB / 0.7124 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1897, allocations: 3.953 kB / 0.7124 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1899, allocations: 75.89 kB / 0.7125 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.1905, allocations: 0.5831 MB / 0.713 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1906, allocations: 91.78 kB / 0.7131 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.1907, allocations: 54.61 kB / 0.7132 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1907, allocations: 7.984 kB / 0.7132 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1908, allocations: 34.5 kB / 0.7132 GB, free: 152 kB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1908, allocations: 0 / 0.7132 GB, free: 152 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003898/0.1912, allocations: 145.5 kB / 0.7134 GB, free: 0 / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.1913, allocations: 132.9 kB / 0.7135 GB, free: 15.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1914, allocations: 152.7 kB / 0.7136 GB, free: 15.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1914, allocations: 25.7 kB / 0.7136 GB, free: 15.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.1915, allocations: 115.9 kB / 0.7138 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1915, allocations: 27.59 kB / 0.7138 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.1916, allocations: 0 / 0.7138 GB, free: 15.51 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1917, allocations: 322.8 kB / 0.7141 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1918, allocations: 43.97 kB / 0.7141 GB, free: 15.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1919, allocations: 73.92 kB / 0.7142 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.192, allocations: 40.02 kB / 0.7142 GB, free: 15.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.192, allocations: 0 / 0.7142 GB, free: 15.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002606/0.1923, allocations: 133.4 kB / 0.7144 GB, free: 14.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1923, allocations: 4 kB / 0.7144 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1923, allocations: 0 / 0.7144 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1923, allocations: 8 kB / 0.7144 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1925, allocations: 32.11 kB / 0.7144 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1925, allocations: 4 kB / 0.7144 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.1926, allocations: 15.98 kB / 0.7144 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1926, allocations: 0 / 0.7144 GB, free: 14.81 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (8): * Single equations (assignments): 8 * 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 9.712e-05/0.1927, allocations: 129.7 kB / 0.7146 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.1928, allocations: 7.906 kB / 0.7146 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.1928, allocations: 15.88 kB / 0.7146 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1928, allocations: 4 kB / 0.7146 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1928, allocations: 4 kB / 0.7146 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1928, allocations: 0 / 0.7146 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.1931, allocations: 201.5 kB / 0.7148 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1931, allocations: 0 / 0.7148 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.1932, allocations: 23.91 kB / 0.7148 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1932, allocations: 4 kB / 0.7148 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1933, allocations: 4 kB / 0.7148 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1933, allocations: 0 / 0.7148 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1933, allocations: 4 kB / 0.7148 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1936, allocations: 354 kB / 0.7152 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1937, allocations: 92.91 kB / 0.7152 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1937, allocations: 8 kB / 0.7152 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1939, allocations: 11.98 kB / 0.7153 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1939, allocations: 7.938 kB / 0.7153 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1939, allocations: 3.984 kB / 0.7153 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.194, allocations: 117.9 kB / 0.7154 GB, free: 13.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.194, allocations: 0 / 0.7154 GB, free: 13.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1943, allocations: 12 kB / 0.7154 GB, free: 13.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 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.0005511/0.1949, allocations: 0.8866 MB / 0.7163 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1951, allocations: 91.81 kB / 0.7163 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1951, allocations: 0 / 0.7163 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.1953, allocations: 32.48 kB / 0.7164 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1956, allocations: 12.06 kB / 0.7164 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1969, allocations: 0.7414 MB / 0.7171 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1972, allocations: 0.7005 MB / 0.7178 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.1972, allocations: 4.172 kB / 0.7178 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.1973, allocations: 31.42 kB / 0.7178 GB, free: 11.11 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1973, allocations: 0 / 0.7178 GB, free: 11.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.2095, allocations: 1.8 MB / 0.7196 GB, free: 9.422 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.2097, allocations: 165.5 kB / 0.7197 GB, free: 9.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.154, allocations: 0 / 0.7197 GB, free: 9.184 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar.fmu > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat does not exist to compare? outputFormat=mat