Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 178.8 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007602/0.0007602, allocations: 87.42 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12.33 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002167/0.1905, allocations: 1.563 MB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1926, allocations: 1.464 MB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1927, allocations: 0 / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.193, allocations: 23.86 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1933, allocations: 55.75 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.1938, allocations: 146.7 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.194, allocations: 261.3 kB / 0.9049 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1942, allocations: 29.02 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1943, allocations: 75.77 kB / 0.905 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1945, allocations: 99.7 kB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.1945, allocations: 8 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.1947, allocations: 63.95 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.1948, allocations: 75.8 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.527e-05/0.1949, allocations: 133 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1951, allocations: 215.8 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1952, allocations: 3.984 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1952, allocations: 4 kB / 0.9056 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.1952, allocations: 0 / 0.9056 GB, free: 59.11 MB / 0.6042 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.0006391/0.1958, allocations: 499.5 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1959, allocations: 12.03 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.196, allocations: 44.56 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1963, allocations: 270.7 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1963, allocations: 16.38 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1963, allocations: 20.12 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1966, allocations: 233.2 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1966, allocations: 3.938 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1967, allocations: 8 kB / 0.9066 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1967, allocations: 8 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.1974, allocations: 0.7451 MB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.1983, allocations: 0.6485 MB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.1987, allocations: 298 kB / 0.9083 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1989, allocations: 113.4 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/0.1989, allocations: 24.25 kB / 0.9084 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.1992, allocations: 179.4 kB / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.1992, allocations: 0 / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.0005357/0.1998, allocations: 381.8 kB / 0.9089 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1998, allocations: 140.4 kB / 0.9091 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.2, allocations: 309 kB / 0.9094 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2001, allocations: 29.7 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.2001, allocations: 140.6 kB / 0.9095 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.2002, allocations: 114.3 kB / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.2002, allocations: 4 kB / 0.9096 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.2003, allocations: 338.8 kB / 0.91 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2004, allocations: 79.95 kB / 0.91 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2006, allocations: 127.4 kB / 0.9102 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.2008, allocations: 217.3 kB / 0.9104 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2008, allocations: 0 / 0.9104 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000342/0.2012, allocations: 281.1 kB / 0.9106 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2012, allocations: 8 kB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2012, allocations: 3.984 kB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2012, allocations: 3.938 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2014, allocations: 59.91 kB / 0.9107 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2015, allocations: 4 kB / 0.9107 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.2016, allocations: 29.66 kB / 0.9107 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2016, allocations: 12 kB / 0.9107 GB, free: 53.52 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.2018, allocations: 165.8 kB / 0.9109 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2018, allocations: 31.56 kB / 0.9109 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.2024, allocations: 384.5 kB / 0.9113 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2024, allocations: 11.92 kB / 0.9113 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2024, allocations: 0 / 0.9113 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2024, allocations: 0 / 0.9113 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.2026, allocations: 345.2 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2027, allocations: 8 kB / 0.9116 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2028, allocations: 59.92 kB / 0.9117 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2028, allocations: 3.984 kB / 0.9117 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2029, allocations: 8 kB / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2029, allocations: 7.938 kB / 0.9117 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2029, allocations: 0 / 0.9117 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.2032, allocations: 322.2 kB / 0.912 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2033, allocations: 148.6 kB / 0.9122 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.2034, allocations: 11.98 kB / 0.9122 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2036, allocations: 31.92 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.2036, allocations: 23.97 kB / 0.9122 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.2037, allocations: 19.98 kB / 0.9123 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001548/0.2038, allocations: 236.4 kB / 0.9125 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2038, allocations: 0 / 0.9125 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002747/0.2041, allocations: 64 kB / 0.9125 GB, free: 51.58 MB / 0.6042 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.0008508/0.205, allocations: 408.9 kB / 0.9129 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.2053, allocations: 223.7 kB / 0.9131 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2053, allocations: 0 / 0.9131 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.2055, allocations: 136.6 kB / 0.9133 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2058, allocations: 36.42 kB / 0.9133 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.2065, allocations: 0.653 MB / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2067, allocations: 0.773 MB / 0.9147 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.2068, allocations: 47.42 kB / 0.9147 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2068, allocations: 0 / 0.9147 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.005921/0.2128, allocations: 4.414 MB / 0.9191 GB, free: 45.01 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)