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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001087/0.001087, 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.001067/0.001067, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.487/2.487, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.45 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2322, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002741/0.2349, allocations: 1.665 MB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2364, allocations: 1.183 MB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.2365, allocations: 0 / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.2367, allocations: 31.78 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.237, allocations: 63.67 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2373, allocations: 147.2 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2376, allocations: 245.5 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.2377, allocations: 19.98 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/0.2378, allocations: 87.81 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.238, allocations: 95.64 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.238, allocations: 20 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2382, allocations: 75.98 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.2382, allocations: 83.8 kB / 1.057 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2384, allocations: 107.3 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.2387, allocations: 287.4 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2387, allocations: 0 / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2387, allocations: 0 / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.2387, allocations: 4 kB / 1.057 GB, free: 4.125 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.0006762/0.2394, allocations: 0.5434 MB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2394, allocations: 8.625 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.2395, allocations: 50.73 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.2395, allocations: 24.66 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2398, allocations: 272.8 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2398, allocations: 8.375 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2398, allocations: 24.31 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2402, allocations: 220.7 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2402, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.2402, allocations: 12 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2402, allocations: 4 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.241, allocations: 0.7372 MB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.2418, allocations: 0.5859 MB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.2421, allocations: 219.4 kB / 1.06 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.2422, allocations: 100.8 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.2423, allocations: 19.97 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.2426, allocations: 169.5 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.2426, allocations: 8 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0005972/0.2432, allocations: 362.8 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.2433, allocations: 136.5 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.2435, allocations: 308.9 kB / 1.061 GB, free: 120 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2436, allocations: 29.7 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.2437, allocations: 128.8 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.2437, allocations: 114.3 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.2438, allocations: 61.69 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2439, allocations: 342.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.2441, allocations: 79.95 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.2443, allocations: 115.4 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.2446, allocations: 210.3 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2446, allocations: 0 / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000396/0.245, allocations: 273.2 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.245, allocations: 8 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.245, allocations: 7.938 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.245, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.2452, allocations: 59.91 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2452, allocations: 7.938 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2454, allocations: 27.83 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2454, allocations: 8 kB / 1.062 GB, free: 14.63 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.0001356/0.2455, allocations: 165.7 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.2456, allocations: 27.62 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.2462, allocations: 381 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2462, allocations: 4 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2462, allocations: 3.938 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2463, allocations: 0 / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.2465, allocations: 329.3 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2465, allocations: 0 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2467, allocations: 59.84 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2467, allocations: 0 / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2467, allocations: 20 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2467, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2468, allocations: 3.938 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.2472, allocations: 313.7 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2473, allocations: 140.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.2473, allocations: 8 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.2475, allocations: 15.98 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2476, allocations: 27.91 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.2476, allocations: 15.98 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001818/0.2478, allocations: 236.4 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2478, allocations: 0 / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002802/0.2481, allocations: 63.84 kB / 1.064 GB, free: 12.75 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.001382/0.2495, allocations: 1.149 MB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.2499, allocations: 295.7 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2499, allocations: 0 / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.2501, allocations: 127.8 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2504, allocations: 42.09 kB / 1.065 GB, free: 11.26 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.002465/0.2529, allocations: 2.426 MB / 1.068 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2531, allocations: 0.7579 MB / 1.068 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.2534, allocations: 150.9 kB / 1.069 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2536, allocations: 87.39 kB / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2536, allocations: 7.938 kB / 1.069 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.548/0.8016, allocations: 5.468 MB / 1.074 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/7.461, allocations: 7.312 kB / 1.074 GB, free: 2.406 MB / 0.8262 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)