Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IBPSA_latest_IBPSA_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.001169/0.001169, allocations: 107.2 kB / 16.4 MB, free: 6.461 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.001127/0.001127, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.661/0.661, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001105, allocations: 67.19 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1249, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00266/0.1276, allocations: 1.645 MB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1291, allocations: 1.171 MB / 0.6344 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.1291, allocations: 0 / 0.6344 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1294, allocations: 27.8 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1296, allocations: 71.61 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.13, allocations: 158 kB / 0.6346 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1303, allocations: 241.5 kB / 0.6348 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.1304, allocations: 30.72 kB / 0.6349 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.1305, allocations: 83.77 kB / 0.6349 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1307, allocations: 91.77 kB / 0.635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.1308, allocations: 16 kB / 0.635 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1309, allocations: 79.97 kB / 0.6351 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.131, allocations: 83.75 kB / 0.6352 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.1311, allocations: 103.4 kB / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1315, allocations: 299 kB / 0.6356 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1315, allocations: 4 kB / 0.6356 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1315, allocations: 0 / 0.6356 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1315, allocations: 0 / 0.6356 GB, free: 0.7852 MB / 478.1 MB 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.0007203/0.1322, allocations: 0.5352 MB / 0.6361 GB, free: 208 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1322, allocations: 8.031 kB / 0.6361 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.1323, allocations: 54.73 kB / 0.6362 GB, free: 136 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.1324, allocations: 24.66 kB / 0.6362 GB, free: 112 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1327, allocations: 272.5 kB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1327, allocations: 8.375 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1327, allocations: 16.38 kB / 0.6365 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1331, allocations: 224.7 kB / 0.6367 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1331, allocations: 0 / 0.6367 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.1331, allocations: 12 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1331, allocations: 4 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.1339, allocations: 0.7373 MB / 0.6374 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.1346, allocations: 0.5703 MB / 0.638 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1349, allocations: 235.9 kB / 0.6382 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1351, allocations: 96.81 kB / 0.6383 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.1351, allocations: 31.91 kB / 0.6383 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.1354, allocations: 169.5 kB / 0.6385 GB, free: 13.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.1354, allocations: 0 / 0.6385 GB, free: 13.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.000608/0.136, allocations: 358.8 kB / 0.6388 GB, free: 13.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.1361, allocations: 144.4 kB / 0.639 GB, free: 13.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1364, allocations: 304.9 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1364, allocations: 29.7 kB / 0.6393 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.1365, allocations: 136.6 kB / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.1366, allocations: 106.5 kB / 0.6395 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.1367, allocations: 65.69 kB / 0.6396 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1369, allocations: 338.8 kB / 0.6399 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.137, allocations: 71.95 kB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.1372, allocations: 132.4 kB / 0.6401 GB, free: 11.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1375, allocations: 208.7 kB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1375, allocations: 0 / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003766/0.1379, allocations: 277.7 kB / 0.6406 GB, free: 11.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1379, allocations: 4 kB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1379, allocations: 4 kB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1379, allocations: 0 / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1381, allocations: 59.91 kB / 0.6406 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1381, allocations: 3.938 kB / 0.6406 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1382, allocations: 27.73 kB / 0.6407 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.1383, allocations: 15.98 kB / 0.6407 GB, free: 11.29 MB / 494.1 MB 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.000133/0.1384, allocations: 161.8 kB / 0.6408 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.1385, allocations: 23.72 kB / 0.6409 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.1391, allocations: 376.8 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1391, allocations: 8.031 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1391, allocations: 3.938 kB / 0.6412 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1391, allocations: 0 / 0.6412 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.1394, allocations: 337.2 kB / 0.6415 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1394, allocations: 0 / 0.6415 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1395, allocations: 55.91 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1395, allocations: 0 / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1396, allocations: 8 kB / 0.6416 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1396, allocations: 11.98 kB / 0.6416 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.1396, allocations: 3.938 kB / 0.6416 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.14, allocations: 318.2 kB / 0.6419 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1401, allocations: 140.6 kB / 0.6421 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1402, allocations: 8 kB / 0.6421 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1403, allocations: 15.98 kB / 0.6421 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1404, allocations: 31.89 kB / 0.6421 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1404, allocations: 16 kB / 0.6421 GB, free: 9.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1406, allocations: 232.4 kB / 0.6423 GB, free: 9.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1406, allocations: 0 / 0.6423 GB, free: 9.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1409, allocations: 60 kB / 0.6424 GB, free: 9.402 MB / 494.1 MB 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.001394/0.1423, allocations: 1.149 MB / 0.6435 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.1426, allocations: 231.8 kB / 0.6437 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1427, allocations: 0 / 0.6437 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1428, allocations: 124.7 kB / 0.6439 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1431, allocations: 36.59 kB / 0.6439 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.1456, allocations: 2.43 MB / 0.6463 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1459, allocations: 0.7652 MB / 0.647 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.1462, allocations: 142.9 kB / 0.6472 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1463, allocations: 87.39 kB / 0.6472 GB, free: 4.461 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1463, allocations: 0 / 0.6472 GB, free: 4.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.1698, allocations: 5.6 MB / 0.6527 GB, free: 15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/7.087, allocations: 7.75 kB / 0.6527 GB, free: 14.99 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)