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.001139/0.001139, allocations: 109.4 kB / 15.69 MB, free: 128 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.001229/0.001229, allocations: 188 kB / 16.62 MB, free: 6.613 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.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.66/1.66, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001376/0.001376, allocations: 69.06 kB / 0.6718 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2136, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003451/0.2171, allocations: 1.847 MB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.219, allocations: 1.489 MB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.2191, allocations: 0 / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.2193, allocations: 27.78 kB / 0.7869 GB, free: 9.855 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.0002779/0.2196, allocations: 82.67 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.22, allocations: 151 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.2204, allocations: 277.4 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2205, allocations: 33.31 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.2206, allocations: 95.77 kB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.2208, allocations: 107.7 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.2209, allocations: 16 kB / 0.7877 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.221, allocations: 67.98 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2211, allocations: 91.72 kB / 0.7878 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2212, allocations: 119.3 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2216, allocations: 315 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2216, allocations: 0 / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2216, allocations: 0 / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2216, allocations: 0 / 0.7882 GB, free: 8.531 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.0007199/0.2223, allocations: 0.5575 MB / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2224, allocations: 15.97 kB / 0.7888 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.2224, allocations: 54.72 kB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.2226, allocations: 36.64 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2229, allocations: 270.7 kB / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2229, allocations: 16.38 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2229, allocations: 19.94 kB / 0.7892 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.2233, allocations: 233.6 kB / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2233, allocations: 0 / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.2233, allocations: 8 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2233, allocations: 4 kB / 0.7894 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008296/0.2242, allocations: 0.7449 MB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.2251, allocations: 0.6254 MB / 0.7907 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.2256, allocations: 306 kB / 0.791 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2258, allocations: 105.4 kB / 0.7911 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.2258, allocations: 20.25 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.2262, allocations: 187.9 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.2262, allocations: 4 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0006208/0.2268, allocations: 379 kB / 0.7917 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.2269, allocations: 140.4 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.2272, allocations: 309 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.2272, allocations: 33.7 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.2273, allocations: 128.6 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.2274, allocations: 122.3 kB / 0.7924 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.2275, allocations: 65.69 kB / 0.7924 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2276, allocations: 346.8 kB / 0.7928 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2277, allocations: 79.95 kB / 0.7929 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2279, allocations: 127.2 kB / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.2282, allocations: 217.4 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2282, allocations: 0 / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004032/0.2286, allocations: 273.2 kB / 0.7934 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2287, allocations: 8 kB / 0.7935 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2287, allocations: 0 / 0.7935 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2287, allocations: 7.938 kB / 0.7935 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.2289, allocations: 63.91 kB / 0.7935 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2289, allocations: 4 kB / 0.7935 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2291, allocations: 31.67 kB / 0.7936 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.2291, allocations: 15.98 kB / 0.7936 GB, free: 2.762 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.0001477/0.2293, allocations: 162.4 kB / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.2293, allocations: 23.72 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.951e-05/0.2294, allocations: 50.89 kB / 0.7938 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2294, allocations: 4 kB / 0.7938 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2295, allocations: 0 / 0.7938 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2295, allocations: 0 / 0.7938 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.2298, allocations: 345.2 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2298, allocations: 0 / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.23, allocations: 59.91 kB / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.23, allocations: 4 kB / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.23, allocations: 11.94 kB / 0.7942 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.23, allocations: 0 / 0.7942 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.23, allocations: 4 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.2304, allocations: 332.5 kB / 0.7945 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2306, allocations: 140.8 kB / 0.7947 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.2306, allocations: 15.92 kB / 0.7947 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2308, allocations: 23.97 kB / 0.7947 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.2309, allocations: 23.97 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.2309, allocations: 11.98 kB / 0.7947 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001894/0.2311, allocations: 244.4 kB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2311, allocations: 0 / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002857/0.2314, allocations: 67.94 kB / 0.795 GB, free: 1.172 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.001489/0.2329, allocations: 1.157 MB / 0.7962 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.2333, allocations: 232.2 kB / 0.7964 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2333, allocations: 7.938 kB / 0.7964 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2335, allocations: 132.3 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2338, allocations: 39.77 kB / 0.7966 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.2364, allocations: 2.514 MB / 0.799 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2367, allocations: 0.7653 MB / 0.7998 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000312/0.2371, allocations: 155 kB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2372, allocations: 95.39 kB / 0.8 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2372, allocations: 0 / 0.8 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2609, allocations: 5.922 MB / 0.8058 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.102, allocations: 15.61 kB / 0.8058 GB, free: 6.344 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)