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.001573/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001778/0.001778, allocations: 191 kB / 16.14 MB, free: 6.66 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001919/0.001919, allocations: 286 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8721/0.8721, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 89.95 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 86.99 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002773/0.1375, allocations: 1.715 MB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1389, allocations: 1.148 MB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.139, allocations: 6.062 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1391, allocations: 19.84 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1393, allocations: 55.81 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1396, allocations: 137.8 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1398, allocations: 222.4 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.1399, allocations: 25.31 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.14, allocations: 73.14 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1401, allocations: 87.7 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1402, allocations: 12 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1403, allocations: 72.66 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.1404, allocations: 67.81 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.1405, allocations: 107.3 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.1408, allocations: 283.1 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1408, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.1408, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1408, allocations: 0 / 0.6835 GB, free: 13.1 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.0006246/0.1414, allocations: 0.5384 MB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.312e-05/0.1414, allocations: 8.031 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.1415, allocations: 54.73 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.1416, allocations: 24.66 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1418, allocations: 272.8 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1418, allocations: 12.38 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1418, allocations: 20.31 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1422, allocations: 213.3 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.1422, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1422, allocations: 15.98 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1422, allocations: 4 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.1431, allocations: 0.7371 MB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.1438, allocations: 0.5819 MB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.1442, allocations: 223.5 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1443, allocations: 100.8 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.1444, allocations: 23.97 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.1447, allocations: 169.5 kB / 0.6864 GB, free: 9.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.1447, allocations: 0 / 0.6864 GB, free: 9.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005962/0.1453, allocations: 372.2 kB / 0.6867 GB, free: 9.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.1454, allocations: 132.5 kB / 0.6868 GB, free: 9.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1456, allocations: 312.9 kB / 0.6871 GB, free: 9.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1457, allocations: 29.7 kB / 0.6872 GB, free: 9.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1457, allocations: 128.6 kB / 0.6873 GB, free: 8.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.1458, allocations: 106.5 kB / 0.6874 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.1459, allocations: 61.69 kB / 0.6875 GB, free: 8.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.146, allocations: 342.8 kB / 0.6878 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1462, allocations: 79.95 kB / 0.6879 GB, free: 8.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.1464, allocations: 119.4 kB / 0.688 GB, free: 8.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.1467, allocations: 209.6 kB / 0.6882 GB, free: 7.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1467, allocations: 0 / 0.6882 GB, free: 7.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004267/0.1471, allocations: 273.2 kB / 0.6884 GB, free: 7.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1471, allocations: 11.98 kB / 0.6884 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1471, allocations: 0 / 0.6884 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.1472, allocations: 0 / 0.6884 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.1474, allocations: 67.84 kB / 0.6885 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1474, allocations: 3.938 kB / 0.6885 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1475, allocations: 31.67 kB / 0.6885 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1475, allocations: 8 kB / 0.6886 GB, free: 7.602 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.0001459/0.1477, allocations: 167.1 kB / 0.6887 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.1478, allocations: 23.72 kB / 0.6887 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.1484, allocations: 376.7 kB / 0.6891 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1484, allocations: 4 kB / 0.6891 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1484, allocations: 3.938 kB / 0.6891 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1484, allocations: 3.984 kB / 0.6891 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.1487, allocations: 333.2 kB / 0.6894 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1487, allocations: 0 / 0.6894 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1489, allocations: 59.91 kB / 0.6895 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1489, allocations: 0 / 0.6895 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1489, allocations: 11.98 kB / 0.6895 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1489, allocations: 4 kB / 0.6895 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1489, allocations: 3.938 kB / 0.6895 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.1494, allocations: 314.2 kB / 0.6898 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1495, allocations: 148.7 kB / 0.6899 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.1495, allocations: 12 kB / 0.69 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1497, allocations: 15.98 kB / 0.69 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1498, allocations: 27.91 kB / 0.69 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.1498, allocations: 11.98 kB / 0.69 GB, free: 6.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.15, allocations: 232.5 kB / 0.6902 GB, free: 5.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.15, allocations: 3.938 kB / 0.6902 GB, free: 5.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1503, allocations: 59.98 kB / 0.6903 GB, free: 5.719 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.001414/0.1517, allocations: 1.148 MB / 0.6914 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.152, allocations: 220.3 kB / 0.6916 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.152, allocations: 4 kB / 0.6916 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.1522, allocations: 127.8 kB / 0.6917 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1525, allocations: 36.59 kB / 0.6918 GB, free: 4.309 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.002649/0.1551, allocations: 2.502 MB / 0.6942 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1554, allocations: 0.7618 MB / 0.695 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.1557, allocations: 150.8 kB / 0.6951 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1559, allocations: 87.39 kB / 0.6952 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1559, allocations: 0 / 0.6952 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.052/1.208, allocations: 5.278 MB / 0.7003 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/1.208, allocations: 288.1 kB / 0.7006 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.945, allocations: 2.953 kB / 0.7006 GB, free: 11.28 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)