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.001256/0.001255, allocations: 105.4 kB / 15.7 MB, free: 24 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.001248/0.001247, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002152/0.002152, allocations: 72.39 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2166, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003171/0.2199, allocations: 1.624 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2213, allocations: 1.087 MB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.2214, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.2217, allocations: 27.78 kB / 0.7863 GB, free: 10.5 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.0002834/0.2219, allocations: 66.31 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.2223, allocations: 123.1 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2226, allocations: 249.5 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2227, allocations: 20.44 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.2228, allocations: 79.83 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.223, allocations: 91.77 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.2231, allocations: 19.94 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2232, allocations: 63.97 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.2233, allocations: 83.75 kB / 0.7871 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2234, allocations: 103.4 kB / 0.7872 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.2238, allocations: 283.1 kB / 0.7875 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2238, allocations: 0 / 0.7875 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2238, allocations: 0 / 0.7875 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2238, allocations: 0 / 0.7875 GB, free: 9.336 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.0006933/0.2245, allocations: 0.5305 MB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2245, allocations: 8.031 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.526e-05/0.2246, allocations: 54.73 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.2247, allocations: 24.66 kB / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.2249, allocations: 272.6 kB / 0.7883 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.225, allocations: 12.38 kB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.225, allocations: 12.38 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.2253, allocations: 221.3 kB / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2253, allocations: 0 / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.2254, allocations: 4 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2254, allocations: 4 kB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.2262, allocations: 0.7379 MB / 0.7893 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.2271, allocations: 0.578 MB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.2275, allocations: 227.5 kB / 0.7901 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2276, allocations: 100.8 kB / 0.7902 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.2277, allocations: 15.97 kB / 0.7902 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.228, allocations: 173.5 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.228, allocations: 0 / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006341/0.2286, allocations: 367.9 kB / 0.7907 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.2287, allocations: 136.5 kB / 0.7908 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.229, allocations: 301 kB / 0.7911 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.229, allocations: 29.7 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.2291, allocations: 128.7 kB / 0.7913 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.2292, allocations: 114.5 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.2293, allocations: 65.62 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2295, allocations: 342.8 kB / 0.7918 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2296, allocations: 75.95 kB / 0.7918 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2298, allocations: 124.4 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.2301, allocations: 208.7 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2301, allocations: 0 / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004375/0.2305, allocations: 277.8 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2306, allocations: 4 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2306, allocations: 0 / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2306, allocations: 4 kB / 0.7924 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.2308, allocations: 55.91 kB / 0.7925 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2308, allocations: 4 kB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.231, allocations: 31.7 kB / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.231, allocations: 15.98 kB / 0.7925 GB, free: 3.859 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.0001555/0.2312, allocations: 166.4 kB / 0.7927 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.2312, allocations: 27.62 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.218e-05/0.2313, allocations: 38.95 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2313, allocations: 4 kB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2313, allocations: 0 / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.2313, allocations: 3.938 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.2317, allocations: 329.3 kB / 0.7931 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2317, allocations: 0 / 0.7931 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.2318, allocations: 55.91 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2318, allocations: 4 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.2319, allocations: 8 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/0.2319, allocations: 7.984 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2319, allocations: 0 / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.2323, allocations: 320.5 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2325, allocations: 140.7 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.2325, allocations: 11.94 kB / 0.7936 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2327, allocations: 15.98 kB / 0.7936 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.2327, allocations: 23.97 kB / 0.7936 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.2328, allocations: 23.86 kB / 0.7936 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002004/0.233, allocations: 236.4 kB / 0.7939 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.233, allocations: 0 / 0.7939 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002793/0.2333, allocations: 55.94 kB / 0.7939 GB, free: 2.324 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.0015/0.2348, allocations: 1.151 MB / 0.795 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.2352, allocations: 219.8 kB / 0.7953 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2352, allocations: 0 / 0.7953 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2354, allocations: 131.8 kB / 0.7954 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2356, allocations: 46.41 kB / 0.7954 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.2382, allocations: 2.451 MB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2385, allocations: 0.7573 MB / 0.7986 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.2388, allocations: 142.9 kB / 0.7987 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.239, allocations: 87.41 kB / 0.7988 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.239, allocations: 0 / 0.7988 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.2625, allocations: 5.415 MB / 0.8041 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.166, allocations: 10.91 kB / 0.8041 GB, free: 8.113 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)