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.001567/0.001567, allocations: 105.4 kB / 15.7 MB, free: 24 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.001766/0.001767, allocations: 194.8 kB / 16.64 MB, free: 6.453 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.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.641/1.641, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001539/0.001539, allocations: 76.33 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1892, allocations: 114.6 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003017/0.1923, allocations: 1.628 MB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1937, allocations: 1.079 MB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.1938, allocations: 4 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.194, allocations: 31.73 kB / 0.7863 GB, free: 10.48 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.0002843/0.1943, allocations: 66.92 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1946, allocations: 127.4 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1949, allocations: 245.6 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.195, allocations: 24.42 kB / 0.7868 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.1951, allocations: 79.83 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1953, allocations: 95.7 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1954, allocations: 16 kB / 0.787 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1955, allocations: 63.92 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.1956, allocations: 79.8 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.1957, allocations: 111.4 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.196, allocations: 275.1 kB / 0.7875 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.196, allocations: 0 / 0.7875 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.196, allocations: 0 / 0.7875 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.196, allocations: 0 / 0.7875 GB, free: 9.32 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.000646/0.1966, allocations: 0.5344 MB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1967, allocations: 8.031 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.1967, allocations: 50.73 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.1968, allocations: 24.66 kB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1971, allocations: 272.6 kB / 0.7883 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1971, allocations: 12.38 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1971, allocations: 12.38 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.1974, allocations: 217.3 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1974, allocations: 0 / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1975, allocations: 12 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1975, allocations: 4 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007873/0.1983, allocations: 0.734 MB / 0.7893 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.1991, allocations: 0.5742 MB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.1995, allocations: 223.5 kB / 0.7901 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1996, allocations: 104.8 kB / 0.7902 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.1997, allocations: 15.97 kB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.2, allocations: 173.5 kB / 0.7903 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2, allocations: 0 / 0.7903 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.000611/0.2006, allocations: 367.9 kB / 0.7907 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.2007, allocations: 136.5 kB / 0.7908 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.201, allocations: 305 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.201, allocations: 29.7 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.2011, allocations: 128.6 kB / 0.7913 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.2012, allocations: 118.4 kB / 0.7914 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.2013, allocations: 61.69 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2014, allocations: 338.8 kB / 0.7918 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.2015, allocations: 79.95 kB / 0.7918 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.2017, allocations: 124.4 kB / 0.792 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.202, allocations: 208.7 kB / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.202, allocations: 0 / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004038/0.2024, allocations: 277.8 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2024, allocations: 4 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2024, allocations: 0 / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2024, allocations: 4 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2026, allocations: 59.91 kB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2026, allocations: 4 kB / 0.7925 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2028, allocations: 31.7 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.2028, allocations: 11.98 kB / 0.7925 GB, free: 3.844 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.0001406/0.203, allocations: 165.8 kB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.203, allocations: 27.62 kB / 0.7927 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.2031, allocations: 34.95 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.2031, allocations: 8 kB / 0.7928 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2031, allocations: 0 / 0.7928 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2031, allocations: 3.938 kB / 0.7928 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2034, allocations: 329.3 kB / 0.7931 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2034, allocations: 0 / 0.7931 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2036, allocations: 55.92 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2036, allocations: 7.984 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2036, allocations: 8 kB / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2036, allocations: 4 kB / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2036, allocations: 0 / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.2041, allocations: 316.5 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2042, allocations: 140.7 kB / 0.7936 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.2042, allocations: 8 kB / 0.7936 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2044, allocations: 20.02 kB / 0.7936 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2045, allocations: 27.91 kB / 0.7936 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.2045, allocations: 19.92 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001803/0.2047, allocations: 232.5 kB / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2047, allocations: 0 / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002703/0.205, allocations: 63.92 kB / 0.7939 GB, free: 2.309 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.001402/0.2064, allocations: 1.147 MB / 0.7951 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.2068, allocations: 219.8 kB / 0.7953 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2068, allocations: 0 / 0.7953 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.207, allocations: 131.8 kB / 0.7954 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2072, allocations: 42.88 kB / 0.7954 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.2097, allocations: 2.451 MB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.21, allocations: 0.7496 MB / 0.7986 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.2103, allocations: 146.9 kB / 0.7987 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2104, allocations: 91.39 kB / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.2105, allocations: 0 / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.2514, allocations: 5.415 MB / 0.8041 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.735, allocations: 7.859 kB / 0.8041 GB, free: 8.102 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)