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.000678/0.0006781, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.003833/0.003833, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.18/1.18, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.528/1.528, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004608/0.0004608, allocations: 15.12 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.0016/0.1734, allocations: 1.359 MB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1746, allocations: 1.039 MB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.1746, allocations: 4 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.1748, allocations: 23.91 kB / 0.7904 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.175, allocations: 54.52 kB / 0.7904 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1753, allocations: 119 kB / 0.7905 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.1755, allocations: 221.6 kB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.1756, allocations: 24.44 kB / 0.7908 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.1757, allocations: 75.77 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1758, allocations: 79.78 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1759, allocations: 12 kB / 0.7909 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.176, allocations: 59.95 kB / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.1761, allocations: 83.62 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.1762, allocations: 117.1 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1764, allocations: 255.2 kB / 0.7914 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1764, allocations: 3.984 kB / 0.7914 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1764, allocations: 0 / 0.7914 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1765, allocations: 4 kB / 0.7914 GB, free: 7.945 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.0005666/0.177, allocations: 491.5 kB / 0.7919 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1771, allocations: 12.03 kB / 0.7919 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1771, allocations: 50.73 kB / 0.792 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.1772, allocations: 24.66 kB / 0.792 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1774, allocations: 268.6 kB / 0.7922 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1774, allocations: 12.36 kB / 0.7922 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1775, allocations: 12.38 kB / 0.7923 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1778, allocations: 221.3 kB / 0.7925 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1778, allocations: 0 / 0.7925 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.1778, allocations: 8 kB / 0.7925 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1778, allocations: 4 kB / 0.7925 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.1786, allocations: 0.7334 MB / 0.7932 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.1793, allocations: 0.5781 MB / 0.7938 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1797, allocations: 223.5 kB / 0.794 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1798, allocations: 100.8 kB / 0.7941 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1798, allocations: 19.97 kB / 0.7941 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.1801, allocations: 181.5 kB / 0.7943 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.1801, allocations: 0 / 0.7943 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0005566/0.1807, allocations: 364 kB / 0.7946 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.1808, allocations: 132.5 kB / 0.7947 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.181, allocations: 309 kB / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.181, allocations: 29.7 kB / 0.7951 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.1811, allocations: 120.7 kB / 0.7952 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.1812, allocations: 114.4 kB / 0.7953 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1812, allocations: 29.72 kB / 0.7953 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1814, allocations: 342.8 kB / 0.7956 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1815, allocations: 79.95 kB / 0.7957 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1816, allocations: 128.4 kB / 0.7958 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1819, allocations: 200.7 kB / 0.796 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1819, allocations: 4 kB / 0.796 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003571/0.1823, allocations: 269.8 kB / 0.7963 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1823, allocations: 12 kB / 0.7963 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1823, allocations: 3.984 kB / 0.7963 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.1823, allocations: 3.938 kB / 0.7963 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1825, allocations: 59.91 kB / 0.7964 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1825, allocations: 0 / 0.7964 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1827, allocations: 43.64 kB / 0.7964 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1827, allocations: 8 kB / 0.7964 GB, free: 2.547 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.0001328/0.1828, allocations: 166.4 kB / 0.7966 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1829, allocations: 27.62 kB / 0.7966 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/0.1835, allocations: 372.8 kB / 0.797 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1835, allocations: 4 kB / 0.797 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1835, allocations: 0 / 0.797 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1835, allocations: 7.922 kB / 0.797 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1837, allocations: 325.2 kB / 0.7973 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1838, allocations: 0 / 0.7973 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1839, allocations: 59.97 kB / 0.7973 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1839, allocations: 4 kB / 0.7973 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.184, allocations: 11.98 kB / 0.7973 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.184, allocations: 3.938 kB / 0.7973 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.184, allocations: 48 / 0.7973 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.1844, allocations: 318.3 kB / 0.7977 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1845, allocations: 148.7 kB / 0.7978 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.1845, allocations: 4 kB / 0.7978 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1847, allocations: 23.98 kB / 0.7978 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1847, allocations: 23.97 kB / 0.7978 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.1848, allocations: 15.92 kB / 0.7979 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001733/0.1849, allocations: 232.5 kB / 0.7981 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1849, allocations: 0 / 0.7981 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002533/0.1852, allocations: 67.89 kB / 0.7981 GB, free: 0.6719 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.001296/0.1865, allocations: 1.143 MB / 0.7993 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1868, allocations: 219.7 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1868, allocations: 0 / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.187, allocations: 124.7 kB / 0.7996 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.1872, allocations: 43.02 kB / 0.7996 GB, free: 15.27 MB / 0.6231 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.002443/0.1897, allocations: 2.512 MB / 0.8021 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.19, allocations: 0.7574 MB / 0.8028 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.1903, allocations: 150.9 kB / 0.803 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1904, allocations: 87.39 kB / 0.8031 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.1904, allocations: 0 / 0.8031 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.543/1.734, allocations: 5.014 MB / 0.8079 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.734, allocations: 269.7 kB / 0.8082 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.898, allocations: 2.109 kB / 0.8082 GB, free: 6.484 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)