Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001027/0.001027, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.171/1.171, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.542/1.542, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001344/0.001344, allocations: 68.66 kB / 0.6711 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002862/0.1763, allocations: 1.682 MB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1777, allocations: 1.043 MB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.1778, allocations: 4 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.178, allocations: 15.92 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1783, allocations: 67.75 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1786, allocations: 102.5 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1788, allocations: 225.6 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.1789, allocations: 24.19 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.179, allocations: 83.77 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1792, allocations: 91.77 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1793, allocations: 19.94 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1794, allocations: 63.98 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.1795, allocations: 75.8 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1796, allocations: 107.3 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1799, allocations: 267.2 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1799, allocations: 0 / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1799, allocations: 0 / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.18, allocations: 0 / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007011/0.1807, allocations: 0.5267 MB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1807, allocations: 8.031 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.103e-05/0.1808, allocations: 50.73 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.1808, allocations: 28.66 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1811, allocations: 267.7 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1811, allocations: 8.375 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1812, allocations: 16.38 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.1815, allocations: 217.3 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1815, allocations: 0 / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.1815, allocations: 8 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1816, allocations: 4 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.1823, allocations: 0.734 MB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.1831, allocations: 0.559 MB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.1836, allocations: 299.6 kB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1837, allocations: 101.4 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1838, allocations: 28.23 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.1841, allocations: 164.9 kB / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.1841, allocations: 0 / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.000606/0.1847, allocations: 379.1 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1848, allocations: 132.5 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.185, allocations: 296.1 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1851, allocations: 33.7 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.1852, allocations: 132.6 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.1852, allocations: 102.5 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.1853, allocations: 69.69 kB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1854, allocations: 342.8 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1856, allocations: 79.95 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.1857, allocations: 131.8 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1861, allocations: 220.8 kB / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1861, allocations: 0 / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004005/0.1865, allocations: 277.5 kB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1865, allocations: 8 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1865, allocations: 0 / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1865, allocations: 3.984 kB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1867, allocations: 67.84 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1867, allocations: 4 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1869, allocations: 26.92 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.1869, allocations: 15.94 kB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 prepare postOptimizeDAE: time 0.0001419/0.1871, allocations: 158.4 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.1871, allocations: 27.72 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.1877, allocations: 380.7 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1877, allocations: 4 kB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1878, allocations: 3.984 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1878, allocations: 0 / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1881, allocations: 337.1 kB / 0.7927 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1881, allocations: 3.938 kB / 0.7927 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1882, allocations: 51.97 kB / 0.7928 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1882, allocations: 4.047 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.1883, allocations: 15.97 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1883, allocations: 4 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1883, allocations: 0 / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.1887, allocations: 321.7 kB / 0.7931 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1888, allocations: 140.7 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.1889, allocations: 11.98 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.189, allocations: 8 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.1891, allocations: 31.95 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1891, allocations: 12 kB / 0.7933 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001787/0.1893, allocations: 237.5 kB / 0.7935 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.1893, allocations: 4 kB / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002661/0.1896, allocations: 56 kB / 0.7936 GB, free: 2.539 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001411/0.191, allocations: 1.148 MB / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.1915, allocations: 299.7 kB / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1915, allocations: 4 kB / 0.795 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1917, allocations: 127.8 kB / 0.7951 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.1919, allocations: 40.66 kB / 0.7952 GB, free: 1.039 MB / 0.6075 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.1946, allocations: 2.514 MB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1948, allocations: 0.7535 MB / 0.7984 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.1951, allocations: 146.8 kB / 0.7985 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1953, allocations: 91.39 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.1953, allocations: 0 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4708/0.666, allocations: 5.32 MB / 0.8038 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.6663, allocations: 271.5 kB / 0.804 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.415, allocations: 0 / 0.804 GB, free: 7.922 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)