Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.518/1.518, allocations: 287.4 MB / 302.6 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 186.1 kB / 371.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007186/0.0007187, allocations: 95.67 kB / 0.7431 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 11.33 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001708/0.1756, allocations: 1.535 MB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1772, allocations: 1.404 MB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.1773, allocations: 4 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1775, allocations: 27.84 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1778, allocations: 55.75 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.1782, allocations: 140 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1784, allocations: 237.4 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.1785, allocations: 37.31 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.1786, allocations: 75.83 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1788, allocations: 91.7 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.1788, allocations: 12 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.179, allocations: 55.97 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.1791, allocations: 75.73 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1791, allocations: 61.58 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1793, allocations: 211.6 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1793, allocations: 4 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1793, allocations: 3.938 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.1793, allocations: 0 / 0.9827 GB, free: 24.04 MB / 0.6198 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.0005902/0.1799, allocations: 0.511 MB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.18, allocations: 8.031 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.18, allocations: 54.73 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1802, allocations: 28.66 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1804, allocations: 274.7 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1804, allocations: 12.38 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1805, allocations: 19.94 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1808, allocations: 233.4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1808, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1808, allocations: 12 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1808, allocations: 4 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.1814, allocations: 0.7412 MB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008363/0.1823, allocations: 0.6446 MB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.1827, allocations: 305.8 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1828, allocations: 113.4 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1829, allocations: 20.25 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.1831, allocations: 183.3 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.1831, allocations: 0 / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.0005073/0.1837, allocations: 373 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1837, allocations: 140.3 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1839, allocations: 309 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1839, allocations: 29.7 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.184, allocations: 140.6 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.1841, allocations: 114.3 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.1841, allocations: 4 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.1841, allocations: 342.8 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1843, allocations: 79.95 kB / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1844, allocations: 132.4 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1846, allocations: 204.7 kB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1847, allocations: 0 / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003204/0.185, allocations: 281.6 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.185, allocations: 7.984 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.185, allocations: 4 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.185, allocations: 3.938 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.1852, allocations: 71.91 kB / 0.9879 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1852, allocations: 0 / 0.9879 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.1854, allocations: 34.38 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1854, allocations: 8 kB / 0.9879 GB, free: 18.39 MB / 0.6198 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1855, allocations: 165.5 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.1856, allocations: 27.77 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.1861, allocations: 388.5 kB / 0.9884 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1861, allocations: 7.984 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1861, allocations: 3.938 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1861, allocations: 0 / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1863, allocations: 345.2 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1863, allocations: 0 / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1865, allocations: 63.91 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1865, allocations: 4 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1865, allocations: 11.94 kB / 0.9889 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1865, allocations: 0 / 0.9889 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1865, allocations: 4 kB / 0.9889 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.1869, allocations: 322.1 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.187, allocations: 144.7 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.187, allocations: 15.92 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1872, allocations: 39.86 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.1872, allocations: 23.95 kB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1873, allocations: 16 kB / 0.9894 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001366/0.1874, allocations: 236.4 kB / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1874, allocations: 0 / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002449/0.1877, allocations: 67.84 kB / 0.9897 GB, free: 16.45 MB / 0.6198 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 (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.001121/0.1888, allocations: 1.151 MB / 0.9908 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.1891, allocations: 240.1 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1891, allocations: 0 / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1893, allocations: 127.8 kB / 0.9912 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.1895, allocations: 36.42 kB / 0.9912 GB, free: 15.02 MB / 0.6198 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.001681/0.1912, allocations: 1.54 MB / 0.9927 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.1914, allocations: 0.7616 MB / 0.9935 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00029/0.1917, allocations: 142.9 kB / 0.9936 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1918, allocations: 99.39 kB / 0.9937 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.1918, allocations: 0 / 0.9937 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.367/7.558, allocations: 5.858 MB / 0.9994 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/7.559, allocations: 265.5 kB / 0.9997 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/9.231, allocations: 0 / 0.9997 GB, free: 6.395 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)