Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001178/0.001178, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.137/1.137, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.502/1.502, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001332/0.001332, allocations: 70.73 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1714, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00308/0.1745, allocations: 1.852 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1765, allocations: 1.497 MB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.1766, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1767, allocations: 27.8 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.1771, allocations: 75.53 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1774, allocations: 142.9 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1777, allocations: 277.4 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1779, allocations: 33.33 kB / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.178, allocations: 91.81 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1782, allocations: 106.1 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1782, allocations: 20 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1784, allocations: 83.91 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.1785, allocations: 83.73 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1786, allocations: 119.3 kB / 0.7878 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.179, allocations: 311.1 kB / 0.7881 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.179, allocations: 4 kB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.179, allocations: 0 / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.179, allocations: 0 / 0.7881 GB, free: 8.68 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007304/0.1797, allocations: 0.5499 MB / 0.7886 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1798, allocations: 15.97 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.1798, allocations: 54.67 kB / 0.7887 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.18, allocations: 36.64 kB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1803, allocations: 266.7 kB / 0.7889 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1803, allocations: 24.16 kB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.1803, allocations: 19.94 kB / 0.789 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.1807, allocations: 225.7 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1807, allocations: 0 / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1807, allocations: 8 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1807, allocations: 4 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.1815, allocations: 0.7527 MB / 0.79 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/0.1825, allocations: 0.6215 MB / 0.7906 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.183, allocations: 309.9 kB / 0.7909 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1831, allocations: 109.4 kB / 0.791 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.1832, allocations: 20.25 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.1835, allocations: 183.9 kB / 0.7912 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.1835, allocations: 0 / 0.7912 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0006189/0.1841, allocations: 379 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.1842, allocations: 140.4 kB / 0.7917 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1845, allocations: 313 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1845, allocations: 33.7 kB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.1846, allocations: 132.6 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.1847, allocations: 118.3 kB / 0.7922 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.1848, allocations: 65.69 kB / 0.7923 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1849, allocations: 342.8 kB / 0.7926 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.185, allocations: 79.95 kB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1852, allocations: 127.4 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.1855, allocations: 217.3 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1855, allocations: 4 kB / 0.793 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004172/0.186, allocations: 277.2 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.186, allocations: 4 kB / 0.7933 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.186, allocations: 0 / 0.7933 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.186, allocations: 7.938 kB / 0.7933 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1862, allocations: 63.91 kB / 0.7934 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1862, allocations: 0 / 0.7934 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1864, allocations: 35.67 kB / 0.7934 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1864, allocations: 15.98 kB / 0.7934 GB, free: 2.914 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 (36): * Single equations (assignments): 36 * 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.0001541/0.1866, allocations: 161.8 kB / 0.7936 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1866, allocations: 27.72 kB / 0.7936 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.1867, allocations: 38.89 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1867, allocations: 4 kB / 0.7936 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1867, allocations: 3.938 kB / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1867, allocations: 4 kB / 0.7936 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.187, allocations: 345.2 kB / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1871, allocations: 0 / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1872, allocations: 63.91 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1872, allocations: 0 / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.1873, allocations: 11.94 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1873, allocations: 0 / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1873, allocations: 4 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.1877, allocations: 332.6 kB / 0.7944 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1879, allocations: 144.7 kB / 0.7945 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.1879, allocations: 15.88 kB / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1881, allocations: 23.97 kB / 0.7945 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1881, allocations: 23.97 kB / 0.7946 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.1882, allocations: 19.98 kB / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001897/0.1884, allocations: 236.4 kB / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1884, allocations: 0 / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002788/0.1887, allocations: 71.94 kB / 0.7949 GB, free: 1.316 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 (35): * Single equations (assignments): 34 * 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.001392/0.1901, allocations: 1.157 MB / 0.796 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.1906, allocations: 304.2 kB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1906, allocations: 0 / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1908, allocations: 140.2 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.191, allocations: 52.69 kB / 0.7965 GB, free: 15.8 MB / 0.6231 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.002654/0.1937, allocations: 2.511 MB / 0.7989 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.194, allocations: 0.7692 MB / 0.7997 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003113/0.1943, allocations: 146.9 kB / 0.7998 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.1945, allocations: 99.39 kB / 0.7999 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.1945, allocations: 0 / 0.7999 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 24.8/24.99, allocations: 5.941 MB / 0.8057 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/31.64, allocations: 11.61 kB / 0.8057 GB, free: 6.383 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)