Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_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.001128/0.001128, 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.001115/0.001115, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.496/1.496, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 70.12 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002555/0.1656, allocations: 1.628 MB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1669, allocations: 1.083 MB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.1669, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1671, allocations: 31.78 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.1674, allocations: 55.7 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1677, allocations: 126.8 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1679, allocations: 245.5 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.168, allocations: 24.44 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.1681, allocations: 79.81 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1683, allocations: 91.77 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1683, allocations: 20 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1684, allocations: 67.97 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.1685, allocations: 87.67 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.1686, allocations: 107.4 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1689, allocations: 267.2 kB / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1689, allocations: 0 / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1689, allocations: 0 / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1689, allocations: 0 / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006213/0.1695, allocations: 0.5344 MB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1696, allocations: 8.031 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.1696, allocations: 50.73 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.1697, allocations: 24.66 kB / 0.7879 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1699, allocations: 272.6 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1699, allocations: 12.38 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.17, allocations: 12.38 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1703, allocations: 221.2 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1703, allocations: 0 / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1703, allocations: 4 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1703, allocations: 4 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.171, allocations: 0.7379 MB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.1718, allocations: 0.582 MB / 0.7897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1721, allocations: 227.5 kB / 0.7899 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1722, allocations: 100.8 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.1723, allocations: 19.97 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.1726, allocations: 173.5 kB / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.1726, allocations: 0 / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0005607/0.1731, allocations: 364 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1732, allocations: 136.5 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1734, allocations: 305 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1735, allocations: 29.7 kB / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1735, allocations: 128.7 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.1736, allocations: 110.5 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.1737, allocations: 61.69 kB / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.1738, allocations: 342.8 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1739, allocations: 75.95 kB / 0.7917 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1741, allocations: 128.4 kB / 0.7918 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1743, allocations: 208.7 kB / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1744, allocations: 0 / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000374/0.1747, allocations: 273.8 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1748, allocations: 7.938 kB / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1748, allocations: 0 / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1748, allocations: 4 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.175, allocations: 59.91 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.175, allocations: 4 kB / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1751, allocations: 31.7 kB / 0.7923 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.1751, allocations: 11.98 kB / 0.7923 GB, free: 3.934 MB / 0.6075 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.0001209/0.1753, allocations: 165.8 kB / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.1753, allocations: 27.62 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.1754, allocations: 34.95 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1754, allocations: 4 kB / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1754, allocations: 0 / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1754, allocations: 7.938 kB / 0.7926 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1757, allocations: 329.3 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1757, allocations: 4 kB / 0.7929 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1759, allocations: 59.91 kB / 0.793 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1759, allocations: 0 / 0.793 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1759, allocations: 11.94 kB / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1759, allocations: 4 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1759, allocations: 3.984 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.1763, allocations: 320.5 kB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1764, allocations: 144.7 kB / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.1764, allocations: 8 kB / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1766, allocations: 15.98 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1766, allocations: 23.97 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.1767, allocations: 19.92 kB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001635/0.1768, allocations: 232.5 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1769, allocations: 0 / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000254/0.1771, allocations: 63.98 kB / 0.7938 GB, free: 2.391 MB / 0.6075 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.00125/0.1784, allocations: 1.147 MB / 0.7949 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.1788, allocations: 291.7 kB / 0.7952 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1788, allocations: 0 / 0.7952 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.179, allocations: 131.8 kB / 0.7953 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1792, allocations: 47.08 kB / 0.7953 GB, free: 0.9141 MB / 0.6075 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.002271/0.1815, allocations: 2.439 MB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1817, allocations: 0.7535 MB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.182, allocations: 143 kB / 0.7986 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1821, allocations: 95.33 kB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.1821, allocations: 0 / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 31.2/31.38, allocations: 5.435 MB / 0.804 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/38.03, allocations: 20.86 kB / 0.804 GB, free: 8.078 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)