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.0008479/0.000848, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004865/0.004865, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.189/1.189, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.52/1.52, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004599/0.00046, allocations: 13.72 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1776, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001753/0.1794, allocations: 1.571 MB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.181, allocations: 1.453 MB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.181, allocations: 0 / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1812, allocations: 19.86 kB / 0.791 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1814, allocations: 63.73 kB / 0.791 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1817, allocations: 144.1 kB / 0.7912 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1819, allocations: 253.4 kB / 0.7914 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.182, allocations: 29.33 kB / 0.7914 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.1821, allocations: 83.75 kB / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1823, allocations: 91.7 kB / 0.7916 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1823, allocations: 12 kB / 0.7916 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1824, allocations: 67.97 kB / 0.7917 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.1825, allocations: 75.75 kB / 0.7918 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.1826, allocations: 137 kB / 0.7919 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1829, allocations: 291.1 kB / 0.7922 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1829, allocations: 0 / 0.7922 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1829, allocations: 0 / 0.7922 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.1829, allocations: 0 / 0.7922 GB, free: 7.203 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.000576/0.1835, allocations: 0.5033 MB / 0.7927 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1835, allocations: 8.031 kB / 0.7927 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.1836, allocations: 54.73 kB / 0.7927 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1837, allocations: 28.66 kB / 0.7927 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1839, allocations: 278.7 kB / 0.793 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.184, allocations: 16.16 kB / 0.793 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.184, allocations: 23.92 kB / 0.793 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1843, allocations: 237.4 kB / 0.7933 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1844, allocations: 4 kB / 0.7933 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1844, allocations: 4 kB / 0.7933 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1844, allocations: 8 kB / 0.7933 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.1851, allocations: 0.7449 MB / 0.794 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.186, allocations: 0.6468 MB / 0.7946 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.1864, allocations: 298 kB / 0.7949 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1866, allocations: 121.3 kB / 0.795 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1866, allocations: 20.25 kB / 0.7951 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.1869, allocations: 175.4 kB / 0.7952 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.1869, allocations: 4 kB / 0.7952 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0005417/0.1875, allocations: 375.7 kB / 0.7956 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1875, allocations: 144.3 kB / 0.7957 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.1878, allocations: 305 kB / 0.796 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1878, allocations: 37.7 kB / 0.7961 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.1879, allocations: 136.6 kB / 0.7962 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.188, allocations: 118.3 kB / 0.7963 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.188, allocations: 29.7 kB / 0.7963 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.1881, allocations: 338.8 kB / 0.7967 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1883, allocations: 79.95 kB / 0.7967 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1884, allocations: 131.5 kB / 0.7969 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1887, allocations: 213.2 kB / 0.7971 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1887, allocations: 0 / 0.7971 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003615/0.1891, allocations: 289 kB / 0.7973 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1891, allocations: 4 kB / 0.7973 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1891, allocations: 0 / 0.7973 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1891, allocations: 7.938 kB / 0.7973 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1893, allocations: 63.91 kB / 0.7974 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1893, allocations: 0 / 0.7974 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1895, allocations: 35.73 kB / 0.7974 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.1895, allocations: 12 kB / 0.7974 GB, free: 1.5 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.0001299/0.1896, allocations: 161.8 kB / 0.7976 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.1897, allocations: 27.66 kB / 0.7976 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.1903, allocations: 392.5 kB / 0.798 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1903, allocations: 4 kB / 0.798 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1903, allocations: 4 kB / 0.798 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1903, allocations: 0 / 0.798 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1906, allocations: 345.2 kB / 0.7983 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1906, allocations: 0 / 0.7983 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1907, allocations: 55.91 kB / 0.7984 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1907, allocations: 4 kB / 0.7984 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1908, allocations: 11.94 kB / 0.7984 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1908, allocations: 0 / 0.7984 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1908, allocations: 3.984 kB / 0.7984 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.1912, allocations: 334.1 kB / 0.7987 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1913, allocations: 148.9 kB / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1913, allocations: 11.94 kB / 0.7989 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1915, allocations: 23.98 kB / 0.7989 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1916, allocations: 31.95 kB / 0.7989 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1916, allocations: 8 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001753/0.1918, allocations: 240.4 kB / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1918, allocations: 0 / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002579/0.1921, allocations: 71.84 kB / 0.7992 GB, free: 15.55 MB / 0.6231 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.001281/0.1933, allocations: 1.159 MB / 0.8004 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.1937, allocations: 236.1 kB / 0.8006 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1937, allocations: 0 / 0.8006 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1938, allocations: 135.8 kB / 0.8007 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1941, allocations: 36.42 kB / 0.8008 GB, free: 14.12 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.002571/0.1967, allocations: 2.596 MB / 0.8033 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.197, allocations: 0.7655 MB / 0.804 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.1972, allocations: 150.8 kB / 0.8042 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1974, allocations: 107.3 kB / 0.8043 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.1974, allocations: 0 / 0.8043 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8322/1.03, allocations: 5.485 MB / 0.8097 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/1.03, allocations: 283.8 kB / 0.8099 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.898, allocations: 0 / 0.8099 GB, free: 4.734 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)