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.001527/0.001527, 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.002066/0.002066, allocations: 196.4 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.36/1.36, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.736/1.736, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001429/0.001429, allocations: 73.69 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2102, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00406/0.2143, allocations: 1.863 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2168, allocations: 1.485 MB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2169, allocations: 0 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.2172, allocations: 31.77 kB / 0.7868 GB, free: 9.98 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.0004277/0.2177, allocations: 75.5 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.2182, allocations: 149.6 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2186, allocations: 277.4 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2187, allocations: 33.33 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.2188, allocations: 91.81 kB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.2191, allocations: 107.6 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.2192, allocations: 16 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.2194, allocations: 79.95 kB / 0.7876 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2195, allocations: 87.75 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2196, allocations: 123.3 kB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.2201, allocations: 303.1 kB / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2201, allocations: 3.984 kB / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2201, allocations: 0 / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2201, allocations: 0 / 0.7881 GB, free: 8.664 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.0008643/0.221, allocations: 0.5538 MB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.221, allocations: 8.031 kB / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.2211, allocations: 58.67 kB / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.2212, allocations: 32.66 kB / 0.7887 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2216, allocations: 274.7 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2216, allocations: 16.14 kB / 0.789 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.2216, allocations: 27.92 kB / 0.789 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.222, allocations: 229.6 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.222, allocations: 0 / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.2221, allocations: 4 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2221, allocations: 8 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.2229, allocations: 0.7488 MB / 0.79 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.224, allocations: 0.6292 MB / 0.7906 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.2245, allocations: 298 kB / 0.7909 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.2247, allocations: 113.4 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.2248, allocations: 20.23 kB / 0.791 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.2252, allocations: 187.9 kB / 0.7912 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.2252, allocations: 0 / 0.7912 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0007077/0.2259, allocations: 383 kB / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.226, allocations: 140.4 kB / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.2263, allocations: 305 kB / 0.792 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.2263, allocations: 29.7 kB / 0.792 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2264, allocations: 140.6 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2266, allocations: 114.3 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.2267, allocations: 61.69 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2268, allocations: 350.7 kB / 0.7926 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.227, allocations: 87.95 kB / 0.7927 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.2272, allocations: 127.3 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.2275, allocations: 217.4 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2275, allocations: 0 / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004771/0.228, allocations: 273.2 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.228, allocations: 4 kB / 0.7933 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.228, allocations: 0 / 0.7933 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.2281, allocations: 7.938 kB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.2283, allocations: 67.91 kB / 0.7934 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2283, allocations: 0 / 0.7934 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.2285, allocations: 31.73 kB / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2285, allocations: 11.94 kB / 0.7934 GB, free: 2.895 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.0001766/0.2287, allocations: 166.4 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.2288, allocations: 23.72 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.465e-05/0.2289, allocations: 46.91 kB / 0.7936 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2289, allocations: 3.984 kB / 0.7936 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2289, allocations: 4 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2289, allocations: 0 / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.2292, allocations: 345.2 kB / 0.794 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2293, allocations: 0 / 0.794 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2294, allocations: 63.91 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2294, allocations: 0 / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.2295, allocations: 11.94 kB / 0.794 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2295, allocations: 4 kB / 0.794 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2295, allocations: 0 / 0.794 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.23, allocations: 336.5 kB / 0.7944 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.2301, allocations: 140.7 kB / 0.7945 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.2301, allocations: 11.94 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2303, allocations: 23.97 kB / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.2304, allocations: 28 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2304, allocations: 15.98 kB / 0.7946 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001956/0.2306, allocations: 236.5 kB / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2306, allocations: 0 / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002879/0.2309, allocations: 75.92 kB / 0.7949 GB, free: 1.293 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.001614/0.2325, allocations: 1.152 MB / 0.796 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.2331, allocations: 304.3 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2331, allocations: 0 / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.2333, allocations: 140.3 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2336, allocations: 42.86 kB / 0.7965 GB, free: 15.79 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.003008/0.2366, allocations: 2.508 MB / 0.7989 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.237, allocations: 0.7653 MB / 0.7997 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000321/0.2373, allocations: 147 kB / 0.7998 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2375, allocations: 103.3 kB / 0.7999 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2375, allocations: 0 / 0.7999 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.971/1.208, allocations: 5.955 MB / 0.8057 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.911, allocations: 8.297 kB / 0.8057 GB, free: 6.359 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)