Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 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.001129/0.001129, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.702/1.702, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001471/0.001471, allocations: 73.56 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2162, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002861/0.2191, allocations: 1.642 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2206, allocations: 1.071 MB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.2207, allocations: 3.938 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2209, allocations: 35.77 kB / 0.7862 GB, free: 10.62 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.0002968/0.2212, allocations: 67.62 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.2215, allocations: 114.6 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.2218, allocations: 245.5 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.2219, allocations: 20.45 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.441e-05/0.222, allocations: 83.81 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2222, allocations: 91.77 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.2222, allocations: 16 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.2223, allocations: 67.91 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2224, allocations: 83.75 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2225, allocations: 103.4 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.2229, allocations: 267.2 kB / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2229, allocations: 4 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2229, allocations: 0 / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2229, allocations: 4 kB / 0.7873 GB, free: 9.473 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007495/0.2237, allocations: 0.5344 MB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2237, allocations: 12.03 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.2238, allocations: 50.73 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.2238, allocations: 24.66 kB / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.2241, allocations: 268.6 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2241, allocations: 12.38 kB / 0.7882 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2242, allocations: 20.31 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.2245, allocations: 213.4 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2245, allocations: 0 / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2246, allocations: 8 kB / 0.7884 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2246, allocations: 4 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.2254, allocations: 0.7301 MB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.2264, allocations: 0.582 MB / 0.7897 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.2267, allocations: 223.5 kB / 0.7899 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2269, allocations: 100.8 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.2269, allocations: 15.97 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.2273, allocations: 177.5 kB / 0.7902 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.2274, allocations: 4 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006905/0.2281, allocations: 364 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.2281, allocations: 132.5 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.2285, allocations: 301 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2285, allocations: 33.7 kB / 0.791 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.2286, allocations: 128.6 kB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.2287, allocations: 106.4 kB / 0.7912 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.2288, allocations: 65.69 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2289, allocations: 346.8 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2291, allocations: 75.95 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2293, allocations: 132.4 kB / 0.7918 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.2296, allocations: 204.7 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2296, allocations: 0 / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004308/0.2301, allocations: 273.8 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2301, allocations: 4 kB / 0.7922 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2301, allocations: 4 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2301, allocations: 3.938 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2304, allocations: 59.91 kB / 0.7923 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2304, allocations: 0 / 0.7923 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2305, allocations: 31.7 kB / 0.7923 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2306, allocations: 12.05 kB / 0.7923 GB, free: 4 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 (34): * Single equations (assignments): 34 * 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.0001669/0.2307, allocations: 170.4 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.2308, allocations: 27.62 kB / 0.7925 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.664e-05/0.2309, allocations: 42.97 kB / 0.7926 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2309, allocations: 7.984 kB / 0.7926 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2309, allocations: 0 / 0.7926 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2309, allocations: 3.938 kB / 0.7926 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.2313, allocations: 321.3 kB / 0.7929 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2313, allocations: 3.984 kB / 0.7929 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.2314, allocations: 51.92 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2314, allocations: 4 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2315, allocations: 11.98 kB / 0.793 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2315, allocations: 4 kB / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2315, allocations: 0 / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.232, allocations: 324.5 kB / 0.7933 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2321, allocations: 140.7 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.2321, allocations: 8 kB / 0.7934 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2323, allocations: 15.98 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.2323, allocations: 19.97 kB / 0.7935 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.2324, allocations: 23.92 kB / 0.7935 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000193/0.2326, allocations: 232.5 kB / 0.7937 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2326, allocations: 0 / 0.7937 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003002/0.2329, allocations: 63.98 kB / 0.7938 GB, free: 2.461 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 (33): * Single equations (assignments): 32 * 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.001617/0.2345, allocations: 1.152 MB / 0.7949 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.235, allocations: 295.7 kB / 0.7952 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.235, allocations: 4 kB / 0.7952 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2352, allocations: 127.8 kB / 0.7953 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2355, allocations: 45.88 kB / 0.7953 GB, free: 0.9766 MB / 0.6075 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.002844/0.2384, allocations: 2.435 MB / 0.7977 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.2387, allocations: 0.7535 MB / 0.7984 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000312/0.239, allocations: 142.9 kB / 0.7986 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2392, allocations: 87.39 kB / 0.7987 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of SimCode: time 2.775e-06/0.2392, allocations: 0 / 0.7987 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.237/1.476, allocations: 5.45 MB / 0.804 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/9.133, allocations: 12.98 kB / 0.804 GB, free: 8.145 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)