Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",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.828/0.828, allocations: 127.1 MB / 142 MB, free: 14.68 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.001081/0.001082, allocations: 95.52 kB / 169.3 MB, free: 3.508 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.0012/0.0012, allocations: 175.6 kB / 196.6 MB, free: 10.92 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.1 MB / 446.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.09805/0.09805, allocations: 22.56 MB / 0.5342 GB, free: 0.6133 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.0004509/0.0004509, allocations: 16.03 kB / 0.6274 GB, free: 80.8 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.194, allocations: 83.48 MB / 0.7089 GB, free: 4.801 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.0008397/0.1949, allocations: 0.6438 MB / 0.7095 GB, free: 4.152 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003882/0.1953, allocations: 195.6 kB / 0.7097 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.1953, allocations: 0 / 0.7097 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 8.162e-05/0.1954, allocations: 0 / 0.7097 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 1.037e-05/0.1954, allocations: 0 / 0.7097 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.1958, allocations: 62.31 kB / 0.7098 GB, free: 3.902 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.439e-05/0.1958, allocations: 4 kB / 0.7098 GB, free: 3.898 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1959, allocations: 3.984 kB / 0.7098 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.1959, allocations: 0 / 0.7098 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.1959, allocations: 4 kB / 0.7098 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.196, allocations: 0 / 0.7098 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1961, allocations: 71.84 kB / 0.7099 GB, free: 3.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.1961, allocations: 0 / 0.7099 GB, free: 3.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.1961, allocations: 29.7 kB / 0.7099 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.1962, allocations: 35.88 kB / 0.7099 GB, free: 3.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1962, allocations: 4 kB / 0.7099 GB, free: 3.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1962, allocations: 0 / 0.7099 GB, free: 3.746 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1963, allocations: 0 / 0.7099 GB, free: 3.746 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002597/0.1965, allocations: 319.4 kB / 0.7102 GB, free: 3.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1966, allocations: 12.03 kB / 0.7102 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.1966, allocations: 34.52 kB / 0.7103 GB, free: 3.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.1966, allocations: 3.906 kB / 0.7103 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1968, allocations: 167.3 kB / 0.7104 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1968, allocations: 8 kB / 0.7104 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1968, allocations: 4 kB / 0.7105 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/0.1969, allocations: 37.62 kB / 0.7105 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1969, allocations: 0 / 0.7105 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1969, allocations: 0 / 0.7105 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.1969, allocations: 7.953 kB / 0.7105 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.197, allocations: 4 kB / 0.7105 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.1971, allocations: 153.6 kB / 0.7106 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/0.1972, allocations: 34.61 kB / 0.7107 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.1972, allocations: 4 kB / 0.7107 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.1972, allocations: 38.5 kB / 0.7107 GB, free: 2.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1972, allocations: 0 / 0.7107 GB, free: 2.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001507/0.1974, allocations: 127 kB / 0.7108 GB, free: 2.617 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.1974, allocations: 51.41 kB / 0.7109 GB, free: 2.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.1975, allocations: 105.8 kB / 0.711 GB, free: 2.441 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.1975, allocations: 25.7 kB / 0.711 GB, free: 2.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.1975, allocations: 84.3 kB / 0.7111 GB, free: 2.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1975, allocations: 7.906 kB / 0.7111 GB, free: 2.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.1975, allocations: 0 / 0.7111 GB, free: 2.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.1976, allocations: 310.8 kB / 0.7114 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.1976, allocations: 4 kB / 0.7114 GB, free: 2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-06/0.1976, allocations: 15.92 kB / 0.7114 GB, free: 1.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.1977, allocations: 4 kB / 0.7114 GB, free: 1.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1977, allocations: 4 kB / 0.7114 GB, free: 1.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.354e-05/0.1977, allocations: 45.59 kB / 0.7115 GB, free: 1.926 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1977, allocations: 10.09 kB / 0.7115 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1978, allocations: 0 / 0.7115 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1978, allocations: 0 / 0.7115 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1978, allocations: 0 / 0.7115 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1978, allocations: 0 / 0.7115 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.1978, allocations: 7.953 kB / 0.7115 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1978, allocations: 0 / 0.7115 GB, free: 1.91 MB / 462.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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 5.158e-05/0.1979, allocations: 113.8 kB / 0.7116 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.1979, allocations: 7.938 kB / 0.7116 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.1979, allocations: 15.44 kB / 0.7116 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1979, allocations: 0 / 0.7116 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1979, allocations: 0 / 0.7116 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1979, allocations: 0 / 0.7116 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.79e-05/0.198, allocations: 153.6 kB / 0.7118 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.198, allocations: 0 / 0.7118 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-06/0.198, allocations: 4 kB / 0.7118 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.198, allocations: 3.938 kB / 0.7118 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.198, allocations: 0 / 0.7118 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1981, allocations: 4 kB / 0.7118 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1981, allocations: 0 / 0.7118 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.469e-05/0.1981, allocations: 73.08 kB / 0.7118 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.1982, allocations: 81.11 kB / 0.7119 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1982, allocations: 0 / 0.7119 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-06/0.1982, allocations: 3.984 kB / 0.7119 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1982, allocations: 3.984 kB / 0.7119 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.1982, allocations: 0 / 0.7119 GB, free: 1.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 1.782e-05/0.1982, allocations: 79.28 kB / 0.712 GB, free: 1.281 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1982, allocations: 4.125 kB / 0.712 GB, free: 1.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1985, allocations: 16 kB / 0.712 GB, free: 1.262 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.000275/0.1988, allocations: 0.6201 MB / 0.7126 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.193e-05/0.1988, allocations: 12 kB / 0.7126 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1988, allocations: 0 / 0.7126 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.1989, allocations: 12.08 kB / 0.7127 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.199, allocations: 4 kB / 0.7127 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.1994, allocations: 340.5 kB / 0.713 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1996, allocations: 0.681 MB / 0.7136 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.825e-05/0.1996, allocations: 0 / 0.7136 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1997, allocations: 11.56 kB / 0.7137 GB, free: 15.48 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1997, allocations: 0 / 0.7137 GB, free: 15.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.2111, allocations: 1.242 MB / 0.7149 GB, free: 14.37 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.2113, allocations: 174.4 kB / 0.715 GB, free: 14.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.986, allocations: 0 / 0.715 GB, free: 14.13 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat does not exist to compare? outputFormat=mat