Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 173.9 kB / 7.646 MB, free: 1.422 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.659/1.659, allocations: 221.5 MB / 229.6 MB, free: 7.539 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.00113/0.00113, allocations: 87.59 kB / 280.5 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09238/0.09238, allocations: 20.17 MB / 351.4 MB, free: 11.02 MB / 250.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.7607/0.7607, allocations: 127.6 MB / 0.5233 GB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.208e-05, allocations: 3.984 kB / 0.6111 GB, free: 7.719 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6333, allocations: 82.87 MB / 0.692 GB, free: 3.012 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.8376, allocations: 118.1 MB / 0.8074 GB, free: 10.97 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.8379, allocations: 79.94 kB / 0.8075 GB, free: 10.89 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005468/0.8434, allocations: 1.768 MB / 0.8092 GB, free: 9.113 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8434, allocations: 0 / 0.8092 GB, free: 9.113 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.8435, allocations: 0 / 0.8092 GB, free: 9.113 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005442/0.844, allocations: 390.6 kB / 0.8096 GB, free: 8.688 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.8441, allocations: 11.97 kB / 0.8096 GB, free: 8.676 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.8441, allocations: 19.84 kB / 0.8096 GB, free: 8.656 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.8444, allocations: 190.9 kB / 0.8098 GB, free: 8.43 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.8444, allocations: 0 / 0.8098 GB, free: 8.43 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.8444, allocations: 4 kB / 0.8098 GB, free: 8.426 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001276/0.8446, allocations: 39.92 kB / 0.8098 GB, free: 8.387 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.8447, allocations: 93.05 kB / 0.8099 GB, free: 8.277 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8447, allocations: 0 / 0.8099 GB, free: 8.277 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.8448, allocations: 7.938 kB / 0.8099 GB, free: 8.27 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8448, allocations: 3.953 kB / 0.8099 GB, free: 8.266 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.8455, allocations: 0.5525 MB / 0.8105 GB, free: 7.664 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.8456, allocations: 79.73 kB / 0.8105 GB, free: 7.559 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.8457, allocations: 26.64 kB / 0.8106 GB, free: 7.523 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.8457, allocations: 4 kB / 0.8106 GB, free: 7.52 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.8458, allocations: 36.64 kB / 0.8106 GB, free: 7.477 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 4.198e-06/0.8458, allocations: 4 kB / 0.8106 GB, free: 7.473 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.000251/0.846, allocations: 69.53 kB / 0.8107 GB, free: 7.398 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.8461, allocations: 128.5 kB / 0.8108 GB, free: 7.242 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.8463, allocations: 132 kB / 0.8109 GB, free: 7.109 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.8463, allocations: 29.7 kB / 0.811 GB, free: 7.074 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.8464, allocations: 115.2 kB / 0.8111 GB, free: 6.961 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.8464, allocations: 19.75 kB / 0.8111 GB, free: 6.941 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.8464, allocations: 0 / 0.8111 GB, free: 6.941 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8466, allocations: 322.9 kB / 0.8114 GB, free: 6.617 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.8466, allocations: 12 kB / 0.8114 GB, free: 6.605 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.8467, allocations: 65.92 kB / 0.8115 GB, free: 6.52 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.8467, allocations: 16.03 kB / 0.8115 GB, free: 6.504 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8467, allocations: 0 / 0.8115 GB, free: 6.504 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/0.8469, allocations: 97.31 kB / 0.8116 GB, free: 6.402 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8469, allocations: 4.625 kB / 0.8116 GB, free: 6.398 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8469, allocations: 0 / 0.8116 GB, free: 6.398 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.847, allocations: 4 kB / 0.8116 GB, free: 6.395 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.8471, allocations: 24.17 kB / 0.8116 GB, free: 6.371 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8471, allocations: 4 kB / 0.8116 GB, free: 6.367 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.8472, allocations: 11.98 kB / 0.8116 GB, free: 6.355 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.8472, allocations: 8 kB / 0.8116 GB, free: 6.348 MB / 0.5418 GB 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 () * 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 0.0001028/0.8474, allocations: 112.7 kB / 0.8117 GB, free: 6.23 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001668/0.8475, allocations: 81.5 kB / 0.8118 GB, free: 6.145 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.8476, allocations: 15.89 kB / 0.8118 GB, free: 6.129 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.8476, allocations: 7.969 kB / 0.8118 GB, free: 6.121 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.8476, allocations: 4 kB / 0.8118 GB, free: 6.117 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8477, allocations: 0 / 0.8118 GB, free: 6.117 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8477, allocations: 3.984 kB / 0.8118 GB, free: 6.113 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.848, allocations: 170 kB / 0.812 GB, free: 5.91 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.848, allocations: 3.938 kB / 0.812 GB, free: 5.906 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/0.8481, allocations: 23.94 kB / 0.812 GB, free: 5.883 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8481, allocations: 4.062 kB / 0.812 GB, free: 5.879 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.8481, allocations: 11.98 kB / 0.812 GB, free: 5.867 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8482, allocations: 0 / 0.812 GB, free: 5.867 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8482, allocations: 0 / 0.812 GB, free: 5.867 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.8484, allocations: 345.3 kB / 0.8124 GB, free: 5.5 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.8485, allocations: 85.02 kB / 0.8125 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.8485, allocations: 0 / 0.8125 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.8487, allocations: 15.98 kB / 0.8125 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.8488, allocations: 3.984 kB / 0.8125 GB, free: 5.379 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.8488, allocations: 7.281 kB / 0.8125 GB, free: 5.375 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.8489, allocations: 112.1 kB / 0.8126 GB, free: 5.266 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8489, allocations: 4 kB / 0.8126 GB, free: 5.262 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002897/0.8492, allocations: 12 kB / 0.8126 GB, free: 5.25 MB / 0.5418 GB 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 () * 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.0005895/0.8498, allocations: 1.008 MB / 0.8136 GB, free: 4.207 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.8499, allocations: 35.94 kB / 0.8136 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8499, allocations: 0 / 0.8136 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.85, allocations: 23.98 kB / 0.8136 GB, free: 4.148 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.8502, allocations: 7.953 kB / 0.8137 GB, free: 4.141 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.8508, allocations: 164.4 kB / 0.8138 GB, free: 3.934 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.8512, allocations: 0.708 MB / 0.8145 GB, free: 3.199 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.8513, allocations: 4.188 kB / 0.8145 GB, free: 3.191 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.8513, allocations: 31.42 kB / 0.8145 GB, free: 3.16 MB / 0.5418 GB Notification: Performance of SimCode: time 3.5e-07/0.8513, allocations: 4 kB / 0.8145 GB, free: 3.156 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.8745, allocations: 1.467 MB / 0.816 GB, free: 1.707 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/0.8749, allocations: 115.3 kB / 0.8161 GB, free: 1.52 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.577, allocations: 0 / 0.8161 GB, free: 1.52 MB / 0.5418 GB (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) 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