Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.959/2.959, allocations: 287.3 MB / 302.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 179.7 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.287/2.287, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 101.8 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005616/0.0005618, allocations: 12.38 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2253, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002118/0.2275, allocations: 1.32 MB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2293, allocations: 0.9999 MB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.2294, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.2297, allocations: 19.84 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.23, allocations: 63.73 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.2305, allocations: 122.8 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.2307, allocations: 145.8 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2309, allocations: 12.52 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.231, allocations: 75.8 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2312, allocations: 59.83 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.2313, allocations: 8 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.2316, allocations: 43.91 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.2319, allocations: 67.81 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.232, allocations: 57.58 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008336/0.2329, allocations: 207.6 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2329, allocations: 0 / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.985e-06/0.233, allocations: 0 / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.233, allocations: 0 / 0.9814 GB, free: 25.06 MB / 0.6198 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.001101/0.2341, allocations: 497.2 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.2342, allocations: 8.031 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.2343, allocations: 54.48 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2344, allocations: 27.67 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.235, allocations: 259.7 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.2351, allocations: 12 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.2352, allocations: 12 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.236, allocations: 208.7 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2361, allocations: 3.984 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.2361, allocations: 12 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2362, allocations: 4 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.2383, allocations: 0.7334 MB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.2407, allocations: 0.5704 MB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/0.2418, allocations: 219.5 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2419, allocations: 27.95 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007457/0.2427, allocations: 181.4 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 5.581e-06/0.2427, allocations: 0 / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001606/0.2443, allocations: 358.8 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.2444, allocations: 132.5 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.245, allocations: 305 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.245, allocations: 29.7 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2452, allocations: 128.7 kB / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2454, allocations: 106.5 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.2455, allocations: 4 kB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2456, allocations: 342.8 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.2461, allocations: 79.95 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.2465, allocations: 116.5 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.2469, allocations: 104.4 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.247, allocations: 4 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001024/0.248, allocations: 269.2 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.2481, allocations: 6.188 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2481, allocations: 0 / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.2481, allocations: 3.953 kB / 0.986 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.2486, allocations: 63.91 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2487, allocations: 3.984 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.249, allocations: 35.67 kB / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.249, allocations: 8 kB / 0.9861 GB, free: 19.93 MB / 0.6198 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.2492, allocations: 169.7 kB / 0.9863 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.2493, allocations: 23.72 kB / 0.9863 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.2503, allocations: 376.9 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2503, allocations: 4 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.455e-06/0.2504, allocations: 3.953 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2504, allocations: 3.984 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.2508, allocations: 329.3 kB / 0.987 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2508, allocations: 0 / 0.987 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.2512, allocations: 59.91 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.2512, allocations: 4 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2512, allocations: 11.98 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2512, allocations: 0 / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2512, allocations: 3.938 kB / 0.9871 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007056/0.252, allocations: 321.8 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.2522, allocations: 152.7 kB / 0.9875 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.2522, allocations: 8 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.2525, allocations: 15.98 kB / 0.9876 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.2526, allocations: 23.97 kB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.2527, allocations: 15.98 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002675/0.253, allocations: 236.4 kB / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.232e-06/0.253, allocations: 0 / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004217/0.2534, allocations: 59.94 kB / 0.9879 GB, free: 18.05 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/0.2553, allocations: 1.137 MB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.256, allocations: 220 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.256, allocations: 0 / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.2563, allocations: 127.8 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2567, allocations: 28.59 kB / 0.9893 GB, free: 16.66 MB / 0.6198 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.002863/0.2595, allocations: 1.447 MB / 0.9908 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2598, allocations: 0.7579 MB / 0.9915 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005535/0.2604, allocations: 150.9 kB / 0.9916 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.2606, allocations: 91.39 kB / 0.9917 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2606, allocations: 0 / 0.9917 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5246/0.7853, allocations: 5.378 MB / 0.997 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.7856, allocations: 256.6 kB / 0.9972 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.406, allocations: 0 / 0.9972 GB, free: 8.629 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)