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.9059/0.9059, allocations: 127.1 MB / 142 MB, free: 10.52 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.0009922/0.0009922, allocations: 95.16 kB / 169.3 MB, free: 11.79 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.001073/0.001073, allocations: 186.1 kB / 196.6 MB, free: 0.6133 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.597/1.597, allocations: 223.1 MB / 446.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1011/0.1011, allocations: 22.58 MB / 0.5343 GB, free: 296 kB / 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.0004628/0.0004629, allocations: 12.03 kB / 0.6274 GB, free: 81.06 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 83.49 MB / 0.7089 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.002298/0.1796, allocations: 1.86 MB / 0.7107 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.1804, allocations: 427.4 kB / 0.7111 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.1805, allocations: 7.938 kB / 0.7111 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.1805, allocations: 7.922 kB / 0.7111 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1806, allocations: 19.91 kB / 0.7112 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1808, allocations: 23.97 kB / 0.7112 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.181, allocations: 59.86 kB / 0.7112 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1811, allocations: 13.11 kB / 0.7113 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.1812, allocations: 35.84 kB / 0.7113 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.1813, allocations: 39.78 kB / 0.7113 GB, free: 2.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1814, allocations: 4 kB / 0.7113 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.1814, allocations: 4 kB / 0.7113 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.1814, allocations: 15.91 kB / 0.7114 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.1814, allocations: 45.58 kB / 0.7114 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.1815, allocations: 48.12 kB / 0.7114 GB, free: 2.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1815, allocations: 0 / 0.7114 GB, free: 2.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1815, allocations: 0 / 0.7114 GB, free: 2.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1816, allocations: 0 / 0.7114 GB, free: 2.016 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.0005422/0.1821, allocations: 406.9 kB / 0.7118 GB, free: 1.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1822, allocations: 12.02 kB / 0.7118 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.1822, allocations: 42.52 kB / 0.7119 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.1823, allocations: 11.91 kB / 0.7119 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1825, allocations: 186.9 kB / 0.7121 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1825, allocations: 8 kB / 0.7121 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1825, allocations: 8 kB / 0.7121 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.1828, allocations: 127.6 kB / 0.7122 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1829, allocations: 0 / 0.7122 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1829, allocations: 0 / 0.7122 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1829, allocations: 7.953 kB / 0.7122 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.1831, allocations: 83.88 kB / 0.7123 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.1837, allocations: 0.5792 MB / 0.7129 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1839, allocations: 95.77 kB / 0.713 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1839, allocations: 0 / 0.713 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.184, allocations: 34.62 kB / 0.713 GB, free: 228 kB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/0.184, allocations: 8 kB / 0.713 GB, free: 220 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.000438/0.1844, allocations: 145.8 kB / 0.7131 GB, free: 68 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.1845, allocations: 132.5 kB / 0.7133 GB, free: 15.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1848, allocations: 148.7 kB / 0.7134 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1848, allocations: 33.64 kB / 0.7134 GB, free: 15.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1849, allocations: 111.9 kB / 0.7135 GB, free: 15.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1849, allocations: 23.66 kB / 0.7136 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.185, allocations: 0 / 0.7136 GB, free: 15.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1851, allocations: 326.8 kB / 0.7139 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1852, allocations: 36 kB / 0.7139 GB, free: 15.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1854, allocations: 77.98 kB / 0.714 GB, free: 15.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1855, allocations: 43.91 kB / 0.714 GB, free: 15.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1855, allocations: 0 / 0.714 GB, free: 15.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002699/0.1858, allocations: 133.5 kB / 0.7142 GB, free: 14.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1858, allocations: 4.188 kB / 0.7142 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1858, allocations: 11.94 kB / 0.7142 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1858, allocations: 0 / 0.7142 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.186, allocations: 23.98 kB / 0.7142 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.186, allocations: 0 / 0.7142 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1861, allocations: 15.98 kB / 0.7142 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1861, allocations: 8 kB / 0.7142 GB, free: 14.87 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 0.0001059/0.1862, allocations: 125.7 kB / 0.7143 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1863, allocations: 15.88 kB / 0.7143 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1863, allocations: 11.88 kB / 0.7144 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1864, allocations: 4 kB / 0.7144 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1864, allocations: 0 / 0.7144 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1864, allocations: 0 / 0.7144 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.1867, allocations: 205.5 kB / 0.7146 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1867, allocations: 0 / 0.7146 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.1868, allocations: 23.98 kB / 0.7146 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1868, allocations: 4 kB / 0.7146 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1869, allocations: 3.984 kB / 0.7146 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1869, allocations: 0 / 0.7146 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1869, allocations: 4 kB / 0.7146 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.1873, allocations: 381.3 kB / 0.715 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1874, allocations: 96.94 kB / 0.715 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.1874, allocations: 0 / 0.715 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1876, allocations: 15.98 kB / 0.7151 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.1877, allocations: 4 kB / 0.7151 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.1877, allocations: 4 kB / 0.7151 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.1878, allocations: 113.9 kB / 0.7152 GB, free: 13.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.7152 GB, free: 13.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1881, allocations: 12 kB / 0.7152 GB, free: 13.77 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.0009406/0.189, allocations: 1.059 MB / 0.7162 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1893, allocations: 76.2 kB / 0.7163 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1893, allocations: 8 kB / 0.7163 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1895, allocations: 39.91 kB / 0.7163 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1897, allocations: 11.95 kB / 0.7164 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1915, allocations: 1.481 MB / 0.7178 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1918, allocations: 0.7043 MB / 0.7185 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.1919, allocations: 4.172 kB / 0.7185 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.1919, allocations: 31.42 kB / 0.7185 GB, free: 10.21 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.192, allocations: 0 / 0.7185 GB, free: 10.21 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2072, allocations: 1.77 MB / 0.7203 GB, free: 8.551 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.2076, allocations: 173.4 kB / 0.7204 GB, free: 8.305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.072, allocations: 0 / 0.7204 GB, free: 8.305 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