Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_10_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.006874/0.006874, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001772/0.001772, allocations: 194.6 kB / 16.68 MB, free: 5.91 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.294/2.294, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 63.91 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6056, allocations: 151.6 MB / 1.166 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002853/0.6085, allocations: 1.669 MB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.6101, allocations: 1.168 MB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.6102, allocations: 3.938 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.6104, allocations: 27.84 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.6107, allocations: 75.61 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.611, allocations: 143 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.6113, allocations: 249.5 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.6114, allocations: 15.98 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.6115, allocations: 79.83 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.6118, allocations: 91.77 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.6118, allocations: 27.94 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.612, allocations: 87.89 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6121, allocations: 75.86 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.6122, allocations: 107.3 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.6126, allocations: 290.4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6126, allocations: 3.984 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6126, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6126, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 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.0007359/0.6133, allocations: 0.5397 MB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.6134, allocations: 16.91 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.6134, allocations: 42.75 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.6135, allocations: 36.73 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.6138, allocations: 268.7 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.6138, allocations: 12.38 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.6138, allocations: 16.31 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.6142, allocations: 226.2 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6142, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.6142, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.6143, allocations: 7.984 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008627/0.6151, allocations: 0.7373 MB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.616, allocations: 0.5784 MB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.6163, allocations: 223.5 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.6165, allocations: 104.8 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.6166, allocations: 19.95 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.6169, allocations: 174 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.6169, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.0006297/0.6175, allocations: 370.9 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.6176, allocations: 132.5 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.6179, allocations: 308.9 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.6179, allocations: 33.7 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.618, allocations: 132.6 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.6181, allocations: 115 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.6182, allocations: 61.69 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6184, allocations: 338.8 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6185, allocations: 79.95 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.6187, allocations: 127.3 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.619, allocations: 210.3 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.619, allocations: 0 / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004244/0.6195, allocations: 269.4 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6195, allocations: 4 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.6195, allocations: 0 / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6195, allocations: 0 / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.6197, allocations: 59.91 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6197, allocations: 3.938 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.6199, allocations: 31.83 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.6199, allocations: 19.98 kB / 1.175 GB, free: 10.09 MB / 0.9044 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.000147/0.6201, allocations: 157.8 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.6201, allocations: 27.86 kB / 1.175 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.6208, allocations: 388.9 kB / 1.176 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6208, allocations: 4 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6208, allocations: 7.875 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6208, allocations: 0 / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.6211, allocations: 329.3 kB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6211, allocations: 4 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.6213, allocations: 51.91 kB / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6213, allocations: 8 kB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.6213, allocations: 8 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6214, allocations: 0 / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6214, allocations: 3.938 kB / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.6218, allocations: 313.9 kB / 1.177 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.622, allocations: 144.8 kB / 1.177 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.622, allocations: 8 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.6221, allocations: 22.52 kB / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.6222, allocations: 23.91 kB / 1.177 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.6222, allocations: 15.98 kB / 1.177 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002064/0.6225, allocations: 240.4 kB / 1.177 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6225, allocations: 0 / 1.177 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002596/0.6227, allocations: 55.94 kB / 1.177 GB, free: 8.207 MB / 0.9044 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.00194/0.6247, allocations: 1.169 MB / 1.178 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.6251, allocations: 223.8 kB / 1.178 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6251, allocations: 0 / 1.178 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.6253, allocations: 119.9 kB / 1.178 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6255, allocations: 36.59 kB / 1.179 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.6282, allocations: 2.454 MB / 1.181 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6285, allocations: 0.7535 MB / 1.182 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.6289, allocations: 142.9 kB / 1.182 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.629, allocations: 87.39 kB / 1.182 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.629, allocations: 0 / 1.182 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.278/1.907, allocations: 5.536 MB / 1.187 GB, free: 13.79 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.11/26.01, allocations: 8 kB / 1.187 GB, free: 13.79 MB / 0.92 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)