Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_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.005097/0.005097, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001261/0.001261, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5977, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002292/0.6, allocations: 1.665 MB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.6012, allocations: 1.172 MB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.6013, allocations: 1.062 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.6015, allocations: 28.31 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.6017, allocations: 66.58 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.602, allocations: 157.2 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.6022, allocations: 243.5 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.6023, allocations: 23.64 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.6024, allocations: 81.19 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.6026, allocations: 93.45 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.6026, allocations: 17.47 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.6028, allocations: 73.42 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.6029, allocations: 93.05 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.603, allocations: 105.5 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.6033, allocations: 285.3 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6033, allocations: 0.7969 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6033, allocations: 0.875 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.6033, allocations: 0 / 1.091 GB, free: 2.723 MB / 0.8575 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.0005776/0.6039, allocations: 0.5443 MB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.6039, allocations: 10.67 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.604, allocations: 57.41 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.604, allocations: 25 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.6043, allocations: 269.5 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6043, allocations: 11.42 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.6043, allocations: 13.53 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.6046, allocations: 222.7 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6046, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.6047, allocations: 6.562 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6047, allocations: 8 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.6056, allocations: 0.7402 MB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.6063, allocations: 0.5706 MB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.6067, allocations: 231 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6068, allocations: 105.5 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.6069, allocations: 28.88 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.6072, allocations: 169.6 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.6072, allocations: 3.938 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0006245/0.6078, allocations: 361.4 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.6079, allocations: 137 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.6081, allocations: 309.3 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.6081, allocations: 37.34 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.6082, allocations: 131.2 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.6083, allocations: 105.5 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.6084, allocations: 65.47 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.6084, allocations: 332.8 kB / 1.096 GB, free: 16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6086, allocations: 79.28 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.6088, allocations: 128.1 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.6091, allocations: 211.6 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6091, allocations: 0 / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004238/0.6096, allocations: 269.7 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.6096, allocations: 5.938 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6096, allocations: 0 / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.6096, allocations: 2.188 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6098, allocations: 62.05 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6098, allocations: 5.781 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.61, allocations: 31.3 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.61, allocations: 14.59 kB / 1.097 GB, free: 15.68 MB / 0.8731 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.0001428/0.6102, allocations: 162.1 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.6102, allocations: 24.11 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.6109, allocations: 373.2 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6109, allocations: 7.938 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6109, allocations: 7.938 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6109, allocations: 2.109 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.6112, allocations: 330.8 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6112, allocations: 0 / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.6114, allocations: 51.09 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.6114, allocations: 3.047 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.6114, allocations: 9.25 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.269e-06/0.6114, allocations: 9.781 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6114, allocations: 5.094 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.6119, allocations: 315.2 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.612, allocations: 143.5 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.6121, allocations: 6.734 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.6123, allocations: 15.59 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.6123, allocations: 27.95 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.6124, allocations: 20.27 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000207/0.6126, allocations: 235.4 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6126, allocations: 0 / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002766/0.6129, allocations: 57.38 kB / 1.098 GB, free: 14.65 MB / 0.8731 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.001455/0.6143, allocations: 1.151 MB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.6147, allocations: 227.1 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6147, allocations: 1.625 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.6149, allocations: 122.7 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.6152, allocations: 39.27 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.6179, allocations: 2.438 MB / 1.102 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6183, allocations: 0.7641 MB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.6186, allocations: 150.5 kB / 1.103 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.6187, allocations: 87.17 kB / 1.103 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.6187, allocations: 0 / 1.103 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5827/1.201, allocations: 5.514 MB / 1.109 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/9.966, allocations: 7.547 kB / 1.109 GB, free: 10.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)