Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 189.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.478/1.478, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.86 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002224/0.1621, allocations: 1.649 MB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1632, allocations: 0.9473 MB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1633, allocations: 3.938 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1635, allocations: 55.77 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1638, allocations: 139.5 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.442e-05/0.1639, allocations: 3.984 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1642, allocations: 358.3 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.352e-05/0.1643, allocations: 48.73 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1644, allocations: 127.4 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1646, allocations: 135.3 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1646, allocations: 12 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.1676, allocations: 0.6564 MB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.1677, allocations: 47.7 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1678, allocations: 127.2 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.1814, allocations: 13.3 MB / 0.8 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1814, allocations: 0 / 0.8 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.42e-07/0.1814, allocations: 0 / 0.8 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1814, allocations: 0 / 0.8 GB, free: 12.24 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001247/0.1827, allocations: 0.6536 MB / 0.8006 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1827, allocations: 8.031 kB / 0.8006 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.1828, allocations: 30.75 kB / 0.8006 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.1828, allocations: 40.45 kB / 0.8007 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1832, allocations: 370.4 kB / 0.801 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1833, allocations: 4.375 kB / 0.801 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1833, allocations: 8.312 kB / 0.801 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1834, allocations: 97.19 kB / 0.8011 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1834, allocations: 4 kB / 0.8011 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1834, allocations: 4 kB / 0.8011 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1835, allocations: 0 / 0.8011 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.1835, allocations: 71.86 kB / 0.8012 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.1839, allocations: 348.1 kB / 0.8015 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.184, allocations: 106.3 kB / 0.8016 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.184, allocations: 67.45 kB / 0.8017 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1841, allocations: 7.969 kB / 0.8017 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/0.1841, allocations: 34.5 kB / 0.8017 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1841, allocations: 0 / 0.8017 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0003003/0.1844, allocations: 193 kB / 0.8019 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1845, allocations: 136.5 kB / 0.8021 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.185, allocations: 0.4936 MB / 0.8025 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.185, allocations: 33.7 kB / 0.8026 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.1851, allocations: 160.3 kB / 0.8027 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1852, allocations: 11.81 kB / 0.8027 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.1852, allocations: 50.12 kB / 0.8028 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1853, allocations: 354.8 kB / 0.8031 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1855, allocations: 111.9 kB / 0.8032 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1857, allocations: 182.8 kB / 0.8034 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.186, allocations: 267.2 kB / 0.8037 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.186, allocations: 0 / 0.8037 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000388/0.1864, allocations: 333 kB / 0.804 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1864, allocations: 4 kB / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1864, allocations: 0 / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.1864, allocations: 4 kB / 0.804 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1865, allocations: 19.92 kB / 0.804 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1866, allocations: 3.984 kB / 0.804 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.1867, allocations: 19.83 kB / 0.804 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1867, allocations: 4 kB / 0.804 GB, free: 7.727 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.1869, allocations: 190.4 kB / 0.8042 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1869, allocations: 35.56 kB / 0.8042 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.1872, allocations: 183.6 kB / 0.8044 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1872, allocations: 0 / 0.8044 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1873, allocations: 4 kB / 0.8044 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1873, allocations: 4.125 kB / 0.8044 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1875, allocations: 293.5 kB / 0.8047 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1875, allocations: 3.984 kB / 0.8047 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.1876, allocations: 15.94 kB / 0.8047 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1876, allocations: 0 / 0.8047 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1876, allocations: 4 kB / 0.8047 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1876, allocations: 3.938 kB / 0.8047 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1876, allocations: 0 / 0.8047 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1878, allocations: 191.2 kB / 0.8049 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.188, allocations: 132.6 kB / 0.805 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.188, allocations: 7.938 kB / 0.8051 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1881, allocations: 11.98 kB / 0.8051 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.1882, allocations: 11.92 kB / 0.8051 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1882, allocations: 4 kB / 0.8051 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003684/0.1886, allocations: 383 kB / 0.8054 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1886, allocations: 0 / 0.8054 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004051/0.189, allocations: 103.9 kB / 0.8055 GB, free: 6.066 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004437/0.1934, allocations: 3.442 MB / 0.8089 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.1937, allocations: 187.8 kB / 0.8091 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1937, allocations: 4 kB / 0.8091 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.1938, allocations: 47.89 kB / 0.8091 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1941, allocations: 52.95 kB / 0.8092 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.1978, allocations: 3.685 MB / 0.8128 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1981, allocations: 0.8222 MB / 0.8136 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.1983, allocations: 49.91 kB / 0.8136 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1984, allocations: 79.41 kB / 0.8137 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.1984, allocations: 0 / 0.8137 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.2364, allocations: 10.66 MB / 0.8241 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.2366, allocations: 224.6 kB / 0.8243 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.068, allocations: 0 / 0.8243 GB, free: 2.797 MB / 0.6387 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)