Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_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.0008255/0.0008255, allocations: 92.78 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005076/0.005076, allocations: 168.5 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 12.81 kB / 0.9029 GB, free: 36.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001639/0.2267, allocations: 1.377 MB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2282, allocations: 1.132 MB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.2282, allocations: 0 / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2284, allocations: 23.92 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2286, allocations: 63.75 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2289, allocations: 127.5 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.2292, allocations: 229.5 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.2293, allocations: 12 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.2294, allocations: 71.83 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2295, allocations: 91.64 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2296, allocations: 12 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2297, allocations: 75.89 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.2298, allocations: 67.81 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.2299, allocations: 129 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.2301, allocations: 271.4 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2302, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2302, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2302, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005944/0.2308, allocations: 0.4994 MB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2308, allocations: 15.97 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.2309, allocations: 50.73 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.2309, allocations: 24.66 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2312, allocations: 272.5 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2312, allocations: 12.38 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.2312, allocations: 16.38 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.2316, allocations: 220.7 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2316, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2316, allocations: 15.94 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2316, allocations: 4 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.2324, allocations: 0.7295 MB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.2331, allocations: 0.582 MB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.2335, allocations: 231.4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2336, allocations: 100.8 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2336, allocations: 15.97 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.2339, allocations: 169.5 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.502e-06/0.2339, allocations: 0 / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0005707/0.2345, allocations: 371.6 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.2346, allocations: 132.5 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.2348, allocations: 312.9 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2349, allocations: 29.7 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.2349, allocations: 128.7 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.235, allocations: 106.4 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.2351, allocations: 29.7 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2352, allocations: 338.8 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2353, allocations: 83.95 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2355, allocations: 123.6 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.2358, allocations: 204.7 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2358, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003718/0.2362, allocations: 281.6 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2362, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2362, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2362, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2364, allocations: 63.84 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2364, allocations: 3.938 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.2366, allocations: 31.73 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2366, allocations: 15.98 kB / 1.067 GB, free: 11.72 MB / 0.8262 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.0001317/0.2367, allocations: 161.8 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2368, allocations: 23.72 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.2374, allocations: 372.8 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2374, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2374, allocations: 3.938 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2374, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2377, allocations: 333.2 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2377, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2378, allocations: 55.91 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2378, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.2379, allocations: 8 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2379, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.2379, allocations: 11.92 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.2383, allocations: 318.2 kB / 1.069 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2384, allocations: 152.6 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.2384, allocations: 4 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2386, allocations: 19.98 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2387, allocations: 31.91 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2387, allocations: 11.98 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001812/0.2389, allocations: 232.5 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2389, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002666/0.2391, allocations: 67.92 kB / 1.069 GB, free: 9.836 MB / 0.8262 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.00133/0.2405, allocations: 1.148 MB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.2408, allocations: 220.3 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2408, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.241, allocations: 128.4 kB / 1.071 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2412, allocations: 37.53 kB / 1.071 GB, free: 8.434 MB / 0.8262 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.002492/0.2437, allocations: 2.512 MB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.244, allocations: 0.7535 MB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000287/0.2443, allocations: 150.8 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.2444, allocations: 83.41 kB / 1.074 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2444, allocations: 4 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.57/2.814, allocations: 5.036 MB / 1.079 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/2.814, allocations: 294.8 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/5.648, allocations: 0 / 1.079 GB, free: 15.59 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)