Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001179, allocations: 185.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000999/0.000999, allocations: 106.4 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003482, allocations: 21.23 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2501, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001871/0.252, allocations: 1.331 MB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2533, allocations: 0.9967 MB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.2534, allocations: 4 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2536, allocations: 19.91 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.2539, allocations: 59.73 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2542, allocations: 112.7 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.2544, allocations: 145.8 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2545, allocations: 16.22 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.2546, allocations: 71.77 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2548, allocations: 67.8 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.2548, allocations: 8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.2549, allocations: 39.98 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.255, allocations: 63.81 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.2551, allocations: 65.56 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2553, allocations: 195.6 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2553, allocations: 4 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2553, allocations: 0 / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2554, allocations: 0 / 0.9033 GB, free: 60.66 MB / 0.6042 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.0007573/0.2561, allocations: 491.7 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.2562, allocations: 8.031 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.2562, allocations: 58.48 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.2563, allocations: 27.67 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.2566, allocations: 263.4 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2566, allocations: 16 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.2567, allocations: 19.98 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.257, allocations: 204.8 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.257, allocations: 0 / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.257, allocations: 8 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.257, allocations: 4 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.2577, allocations: 0.7372 MB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.2586, allocations: 0.5743 MB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2588, allocations: 223.5 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.2589, allocations: 15.97 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.2592, allocations: 177.5 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.654e-06/0.2592, allocations: 0 / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0005426/0.2598, allocations: 370.7 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.2599, allocations: 132.5 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2601, allocations: 301 kB / 0.9067 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.2601, allocations: 33.7 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.2602, allocations: 116.8 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.2603, allocations: 118.4 kB / 0.907 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.2603, allocations: 7.938 kB / 0.907 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.2604, allocations: 334.8 kB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2605, allocations: 79.95 kB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2607, allocations: 123.3 kB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.2608, allocations: 101.6 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2608, allocations: 4 kB / 0.9076 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003212/0.2611, allocations: 277.1 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2612, allocations: 4 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2612, allocations: 3.984 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2612, allocations: 3.953 kB / 0.9079 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.2614, allocations: 59.91 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2614, allocations: 0 / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2615, allocations: 34.88 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2616, allocations: 11.98 kB / 0.908 GB, free: 55.51 MB / 0.6042 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.0001302/0.2617, allocations: 165.8 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.2618, allocations: 23.72 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.2623, allocations: 380.6 kB / 0.9085 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2623, allocations: 4 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2623, allocations: 3.953 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2623, allocations: 0 / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.2626, allocations: 329.3 kB / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2626, allocations: 0 / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.2628, allocations: 55.91 kB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2628, allocations: 4 kB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2628, allocations: 11.94 kB / 0.9089 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.2628, allocations: 4 kB / 0.9089 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2628, allocations: 0 / 0.9089 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.2632, allocations: 326.2 kB / 0.9093 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2633, allocations: 140.7 kB / 0.9094 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.2633, allocations: 15.98 kB / 0.9094 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2635, allocations: 15.98 kB / 0.9094 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2635, allocations: 23.97 kB / 0.9094 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2636, allocations: 8 kB / 0.9094 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001651/0.2637, allocations: 240.4 kB / 0.9097 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2638, allocations: 0 / 0.9097 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00031/0.2641, allocations: 59.94 kB / 0.9097 GB, free: 53.64 MB / 0.6042 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.001293/0.2654, allocations: 1.149 MB / 0.9109 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.2657, allocations: 216.3 kB / 0.9111 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2657, allocations: 0 / 0.9111 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2659, allocations: 132.3 kB / 0.9112 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2661, allocations: 24.66 kB / 0.9112 GB, free: 52.25 MB / 0.6042 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.0018/0.2679, allocations: 1.447 MB / 0.9126 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.2681, allocations: 0.7613 MB / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.2684, allocations: 150.9 kB / 0.9135 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2685, allocations: 83.41 kB / 0.9136 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2685, allocations: 0 / 0.9136 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3205/0.589, allocations: 5.392 MB / 0.9189 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5893, allocations: 266.9 kB / 0.9191 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.632, allocations: 0 / 0.9191 GB, free: 44.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)