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.9032/0.9032, allocations: 127.1 MB / 142.1 MB, free: 10.6 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.0007709/0.0007709, allocations: 94.86 kB / 169.3 MB, free: 11.75 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.001101/0.001101, allocations: 182 kB / 196.7 MB, free: 0.5742 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.504/1.504, allocations: 223.2 MB / 447.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1073/0.1073, allocations: 22.57 MB / 0.5344 GB, free: 308 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.0004139/0.0004139, allocations: 15.09 kB / 0.6275 GB, free: 80.9 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 83.48 MB / 0.7091 GB, free: 4.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.0008563/0.1646, allocations: 0.6439 MB / 0.7097 GB, free: 3.977 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.1651, allocations: 191.6 kB / 0.7099 GB, free: 3.789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.1652, allocations: 4 kB / 0.7099 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 8.199e-05/0.1652, allocations: 3.938 kB / 0.7099 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.766e-06/0.1653, allocations: 0 / 0.7099 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.1657, allocations: 55.94 kB / 0.7099 GB, free: 3.727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.1658, allocations: 7.938 kB / 0.7099 GB, free: 3.719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.1659, allocations: 3.984 kB / 0.7099 GB, free: 3.715 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.1659, allocations: 0 / 0.7099 GB, free: 3.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.1659, allocations: 4 kB / 0.7099 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1659, allocations: 0 / 0.7099 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1661, allocations: 75.84 kB / 0.71 GB, free: 3.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1661, allocations: 4 kB / 0.71 GB, free: 3.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1661, allocations: 25.7 kB / 0.71 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.1662, allocations: 31.94 kB / 0.7101 GB, free: 3.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1662, allocations: 0 / 0.7101 GB, free: 3.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1662, allocations: 3.938 kB / 0.7101 GB, free: 3.566 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1663, allocations: 0 / 0.7101 GB, free: 3.566 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.0002701/0.1665, allocations: 323.4 kB / 0.7104 GB, free: 3.203 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1666, allocations: 12.02 kB / 0.7104 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.1666, allocations: 34.56 kB / 0.7104 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.1666, allocations: 19.8 kB / 0.7105 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1668, allocations: 163.3 kB / 0.7106 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1668, allocations: 3.984 kB / 0.7106 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1668, allocations: 0 / 0.7106 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1669, allocations: 37.64 kB / 0.7106 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1669, allocations: 0 / 0.7106 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1669, allocations: 0 / 0.7106 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.167, allocations: 3.953 kB / 0.7107 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.167, allocations: 7.984 kB / 0.7107 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.1671, allocations: 157.6 kB / 0.7108 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.713e-05/0.1672, allocations: 34.61 kB / 0.7108 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.1672, allocations: 8.891 kB / 0.7108 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1672, allocations: 0 / 0.7108 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.1673, allocations: 38.5 kB / 0.7109 GB, free: 2.566 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1673, allocations: 0 / 0.7109 GB, free: 2.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001504/0.1674, allocations: 49.73 kB / 0.7109 GB, free: 2.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1675, allocations: 55.44 kB / 0.711 GB, free: 2.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.23e-05/0.1675, allocations: 101.8 kB / 0.7111 GB, free: 2.336 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.1675, allocations: 25.7 kB / 0.7111 GB, free: 2.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.904e-05/0.1676, allocations: 80.14 kB / 0.7112 GB, free: 2.223 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1676, allocations: 7.906 kB / 0.7112 GB, free: 2.215 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1676, allocations: 0 / 0.7112 GB, free: 2.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.1677, allocations: 314.8 kB / 0.7115 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1677, allocations: 4 kB / 0.7115 GB, free: 1.895 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.1677, allocations: 12.11 kB / 0.7115 GB, free: 1.883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.012e-05/0.1677, allocations: 12.11 kB / 0.7115 GB, free: 1.871 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1677, allocations: 3.938 kB / 0.7115 GB, free: 1.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.858e-05/0.1678, allocations: 49.59 kB / 0.7116 GB, free: 1.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1678, allocations: 8 kB / 0.7116 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1678, allocations: 0 / 0.7116 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1678, allocations: 0 / 0.7116 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.1678, allocations: 0 / 0.7116 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1678, allocations: 0 / 0.7116 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.1679, allocations: 3.953 kB / 0.7116 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1679, allocations: 4.062 kB / 0.7116 GB, free: 1.797 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.236e-05/0.1679, allocations: 114.5 kB / 0.7117 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.168, allocations: 0 / 0.7117 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.168, allocations: 3.5 kB / 0.7117 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.168, allocations: 4 kB / 0.7117 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.168, allocations: 0 / 0.7117 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.168, allocations: 0 / 0.7117 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.611e-05/0.1681, allocations: 157.6 kB / 0.7119 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1681, allocations: 3.938 kB / 0.7119 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.1681, allocations: 0 / 0.7119 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1681, allocations: 4 kB / 0.7119 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1681, allocations: 0 / 0.7119 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1681, allocations: 7.938 kB / 0.7119 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1681, allocations: 0 / 0.7119 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.938e-05/0.1682, allocations: 73.06 kB / 0.7119 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.1682, allocations: 77.11 kB / 0.712 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1682, allocations: 7.984 kB / 0.712 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.1683, allocations: 4 kB / 0.712 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.1683, allocations: 4.031 kB / 0.712 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1683, allocations: 0 / 0.712 GB, free: 1.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.1683, allocations: 75.28 kB / 0.7121 GB, free: 1.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1683, allocations: 0 / 0.7121 GB, free: 1.176 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.1685, allocations: 20 kB / 0.7121 GB, free: 1.156 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.0003081/0.1688, allocations: 0.6241 MB / 0.7127 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.63e-05/0.1689, allocations: 15.98 kB / 0.7127 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1689, allocations: 4 kB / 0.7127 GB, free: 496 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.1689, allocations: 4 kB / 0.7127 GB, free: 492 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.1691, allocations: 3.938 kB / 0.7128 GB, free: 488 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.1695, allocations: 340.7 kB / 0.7131 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1698, allocations: 0.6731 MB / 0.7137 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.1698, allocations: 3.984 kB / 0.7137 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.1698, allocations: 11.44 kB / 0.7137 GB, free: 15.38 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1698, allocations: 0 / 0.7137 GB, free: 15.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.208/1.378, allocations: 1.251 MB / 0.715 GB, free: 14.26 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/1.378, allocations: 185.1 kB / 0.7151 GB, free: 14.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/3.26, allocations: 2.625 kB / 0.7152 GB, free: 14.01 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