Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.001094/0.001094, allocations: 108 kB / 15.61 MB, free: 152 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.001089/0.001089, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.00244, allocations: 279 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 96.08 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1444, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003113/0.1475, allocations: 1.651 MB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1492, allocations: 1.182 MB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.1493, allocations: 0 / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1495, allocations: 19.86 kB / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1498, allocations: 75.62 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.1502, allocations: 146.3 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.1505, allocations: 242.3 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1506, allocations: 21.7 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1507, allocations: 83.83 kB / 0.6836 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.151, allocations: 92.36 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.151, allocations: 16 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1512, allocations: 92.52 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.1513, allocations: 84.67 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1514, allocations: 107.3 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1518, allocations: 279.7 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1518, allocations: 0 / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1518, allocations: 1.062 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1518, allocations: 0 / 0.6843 GB, free: 12.52 MB / 494.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.000781/0.1526, allocations: 0.5432 MB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1526, allocations: 12.03 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.1527, allocations: 54.67 kB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.1528, allocations: 36.58 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1531, allocations: 268.8 kB / 0.6852 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1531, allocations: 8.375 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1531, allocations: 16.38 kB / 0.6852 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.1535, allocations: 217.3 kB / 0.6854 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1535, allocations: 0 / 0.6854 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1536, allocations: 12 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1536, allocations: 4 kB / 0.6854 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009218/0.1545, allocations: 0.7448 MB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.1554, allocations: 0.5703 MB / 0.6867 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1558, allocations: 231.5 kB / 0.6869 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1559, allocations: 104.8 kB / 0.687 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.156, allocations: 15.97 kB / 0.687 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.1563, allocations: 169.5 kB / 0.6872 GB, free: 9.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.1564, allocations: 0 / 0.6872 GB, free: 9.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006645/0.157, allocations: 364.2 kB / 0.6875 GB, free: 8.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.1572, allocations: 132.5 kB / 0.6877 GB, free: 8.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.1575, allocations: 316.9 kB / 0.688 GB, free: 8.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1575, allocations: 33.7 kB / 0.688 GB, free: 8.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.1576, allocations: 128.6 kB / 0.6881 GB, free: 8.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.1577, allocations: 110.4 kB / 0.6882 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.1578, allocations: 61.69 kB / 0.6883 GB, free: 8.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1579, allocations: 338.8 kB / 0.6886 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1581, allocations: 75.95 kB / 0.6887 GB, free: 7.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1583, allocations: 131.6 kB / 0.6888 GB, free: 7.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1586, allocations: 201.3 kB / 0.689 GB, free: 7.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1586, allocations: 0 / 0.689 GB, free: 7.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004368/0.159, allocations: 281.1 kB / 0.6893 GB, free: 7.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1591, allocations: 4 kB / 0.6893 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1591, allocations: 0 / 0.6893 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1591, allocations: 0 / 0.6893 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1593, allocations: 59.91 kB / 0.6893 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1593, allocations: 3.938 kB / 0.6893 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.1595, allocations: 35.67 kB / 0.6894 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1595, allocations: 12 kB / 0.6894 GB, free: 7.012 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.0001651/0.1597, allocations: 159.1 kB / 0.6895 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.1598, allocations: 27.7 kB / 0.6895 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.1605, allocations: 380.7 kB / 0.6899 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1605, allocations: 0 / 0.6899 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.1605, allocations: 11.94 kB / 0.6899 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1605, allocations: 7.922 kB / 0.6899 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1608, allocations: 329.2 kB / 0.6902 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1608, allocations: 0 / 0.6902 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.161, allocations: 51.92 kB / 0.6903 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.161, allocations: 4 kB / 0.6903 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1611, allocations: 11.98 kB / 0.6903 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1611, allocations: 3.984 kB / 0.6903 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1611, allocations: 3.938 kB / 0.6903 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.1616, allocations: 326.2 kB / 0.6906 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1617, allocations: 140.7 kB / 0.6908 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1618, allocations: 4.047 kB / 0.6908 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1619, allocations: 23.97 kB / 0.6908 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.162, allocations: 27.84 kB / 0.6908 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.162, allocations: 15.98 kB / 0.6908 GB, free: 5.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.1622, allocations: 232.5 kB / 0.6911 GB, free: 5.184 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1623, allocations: 0 / 0.6911 GB, free: 5.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1626, allocations: 63.98 kB / 0.6911 GB, free: 5.121 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.001504/0.1641, allocations: 1.137 MB / 0.6922 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.1646, allocations: 304.2 kB / 0.6925 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1646, allocations: 0 / 0.6925 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1648, allocations: 127.8 kB / 0.6926 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1651, allocations: 43.84 kB / 0.6927 GB, free: 3.641 MB / 494.1 MB 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.002868/0.168, allocations: 2.424 MB / 0.695 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1683, allocations: 0.7574 MB / 0.6958 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.1687, allocations: 150.9 kB / 0.6959 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.1688, allocations: 83.41 kB / 0.696 GB, free: 128 kB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1688, allocations: 0 / 0.696 GB, free: 128 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.63/13.8, allocations: 5.482 MB / 0.7014 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/21.04, allocations: 19.09 kB / 0.7014 GB, free: 10.83 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)