Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01137/0.01137, allocations: 170.3 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 97.38 kB / 290.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09778/0.09778, allocations: 20.33 MB / 361.6 MB, free: 8.754 MB / 298.7 MB [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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.7748/0.7748, allocations: 127.1 MB / 0.533 GB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005119, allocations: 12 kB / 0.6256 GB, free: 0.7539 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 82.85 MB / 0.7065 GB, free: 14.11 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/0.8855, allocations: 117.6 MB / 0.8213 GB, free: 2.352 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.8858, allocations: 75.89 kB / 0.8214 GB, free: 2.277 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.009158/0.895, allocations: 3.158 MB / 0.8244 GB, free: 15.12 MB / 0.5418 GB Notification: Performance of FrontEnd: time 4.247e-06/0.8951, allocations: 0 / 0.8244 GB, free: 15.12 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.8951, allocations: 4 kB / 0.8244 GB, free: 15.12 MB / 0.5418 GB 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.0004686/0.8956, allocations: 339.3 kB / 0.8248 GB, free: 14.74 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.8956, allocations: 8.031 kB / 0.8248 GB, free: 14.73 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.8957, allocations: 30.56 kB / 0.8248 GB, free: 14.7 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.8958, allocations: 12.55 kB / 0.8248 GB, free: 14.69 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.8961, allocations: 163 kB / 0.825 GB, free: 14.49 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.8961, allocations: 0 / 0.825 GB, free: 14.49 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.8961, allocations: 7.469 kB / 0.825 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.8963, allocations: 41.62 kB / 0.825 GB, free: 14.44 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8963, allocations: 0 / 0.825 GB, free: 14.44 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.8963, allocations: 3.984 kB / 0.825 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.8964, allocations: 0 / 0.825 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.8964, allocations: 11.95 kB / 0.825 GB, free: 14.42 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.8967, allocations: 149.7 kB / 0.8252 GB, free: 14.23 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.8968, allocations: 38.38 kB / 0.8252 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.8968, allocations: 4 kB / 0.8252 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.8969, allocations: 38.53 kB / 0.8252 GB, free: 14.13 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.8969, allocations: 0 / 0.8252 GB, free: 14.13 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0002693/0.8971, allocations: 130.8 kB / 0.8254 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.8972, allocations: 55.34 kB / 0.8254 GB, free: 13.91 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.8973, allocations: 89 kB / 0.8255 GB, free: 13.82 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.8973, allocations: 25.7 kB / 0.8255 GB, free: 13.79 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.8974, allocations: 84.3 kB / 0.8256 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.8975, allocations: 11.84 kB / 0.8256 GB, free: 13.69 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.8975, allocations: 0 / 0.8256 GB, free: 13.69 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.8977, allocations: 322.8 kB / 0.8259 GB, free: 13.37 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.8977, allocations: 4 kB / 0.8259 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.8977, allocations: 4 kB / 0.8259 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.8977, allocations: 4 kB / 0.8259 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8977, allocations: 3.938 kB / 0.826 GB, free: 13.35 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.861e-05/0.8978, allocations: 45.69 kB / 0.826 GB, free: 13.3 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.8979, allocations: 12.06 kB / 0.826 GB, free: 13.29 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8979, allocations: 0 / 0.826 GB, free: 13.29 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8979, allocations: 0 / 0.826 GB, free: 13.29 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.8979, allocations: 0 / 0.826 GB, free: 13.29 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.8979, allocations: 7.984 kB / 0.826 GB, free: 13.28 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.8979, allocations: 3.906 kB / 0.826 GB, free: 13.28 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.898, allocations: 0 / 0.826 GB, free: 13.28 MB / 0.5418 GB 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 0.0001179/0.8981, allocations: 113.8 kB / 0.8261 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.8981, allocations: 0 / 0.8261 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.8981, allocations: 7.5 kB / 0.8261 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.8982, allocations: 4 kB / 0.8261 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8982, allocations: 0 / 0.8261 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8982, allocations: 0 / 0.8261 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.8984, allocations: 160.9 kB / 0.8263 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.8984, allocations: 0 / 0.8263 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.8984, allocations: 0 / 0.8263 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8984, allocations: 0 / 0.8263 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.8984, allocations: 0 / 0.8263 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.8984, allocations: 0 / 0.8263 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8984, allocations: 7.938 kB / 0.8263 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.8985, allocations: 77.38 kB / 0.8264 GB, free: 12.84 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.8986, allocations: 77.11 kB / 0.8264 GB, free: 12.74 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.8986, allocations: 0 / 0.8264 GB, free: 12.74 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.291e-05/0.8986, allocations: 4 kB / 0.8264 GB, free: 12.74 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.8987, allocations: 3.938 kB / 0.8265 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.8987, allocations: 0 / 0.8265 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.8987, allocations: 75.28 kB / 0.8265 GB, free: 12.66 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8987, allocations: 4.125 kB / 0.8265 GB, free: 12.66 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002455/0.899, allocations: 27.98 kB / 0.8266 GB, free: 12.63 MB / 0.5418 GB 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.0006078/0.8996, allocations: 0.6165 MB / 0.8272 GB, free: 11.98 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 9.29e-05/0.8997, allocations: 19.98 kB / 0.8272 GB, free: 11.96 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8997, allocations: 96 / 0.8272 GB, free: 11.96 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.8997, allocations: 8 kB / 0.8272 GB, free: 11.96 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.8999, allocations: 4 kB / 0.8272 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.9005, allocations: 345 kB / 0.8275 GB, free: 11.57 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.9009, allocations: 0.6848 MB / 0.8282 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.901, allocations: 128 / 0.8282 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.901, allocations: 11.44 kB / 0.8282 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of SimCode: time 3.61e-07/0.901, allocations: 0 / 0.8282 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.915, allocations: 1.202 MB / 0.8294 GB, free: 9.809 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.9152, allocations: 173 kB / 0.8295 GB, free: 9.57 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.68, allocations: 3.469 kB / 0.8295 GB, free: 9.57 MB / 0.5418 GB (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) 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