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.0009056/0.0009057, allocations: 90.36 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.005032/0.005032, allocations: 172 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 255.3 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8931/0.8931, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 16.03 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00167/0.1311, allocations: 1.368 MB / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1325, allocations: 1.141 MB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.1325, allocations: 4 kB / 0.6877 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1327, allocations: 22.16 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1329, allocations: 51.77 kB / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1332, allocations: 138.5 kB / 0.6879 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1335, allocations: 223.7 kB / 0.6881 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.1335, allocations: 19.97 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.1336, allocations: 76.36 kB / 0.6882 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1338, allocations: 87.7 kB / 0.6883 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1338, allocations: 8.562 kB / 0.6883 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.134, allocations: 68.59 kB / 0.6884 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.1341, allocations: 71.81 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.1342, allocations: 122.5 kB / 0.6885 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1344, allocations: 279.1 kB / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1344, allocations: 0 / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1344, allocations: 1.219 kB / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.1345, allocations: 0 / 0.6888 GB, free: 11.31 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.0005881/0.135, allocations: 0.4886 MB / 0.6893 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1351, allocations: 12.62 kB / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.1351, allocations: 50.73 kB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1352, allocations: 26.38 kB / 0.6894 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1354, allocations: 264.8 kB / 0.6896 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1355, allocations: 12.38 kB / 0.6896 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1355, allocations: 16.36 kB / 0.6897 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1358, allocations: 228.3 kB / 0.6899 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1358, allocations: 0 / 0.6899 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1358, allocations: 4 kB / 0.6899 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1359, allocations: 4 kB / 0.6899 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.1366, allocations: 0.741 MB / 0.6906 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.1374, allocations: 0.5802 MB / 0.6912 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1377, allocations: 228.3 kB / 0.6914 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1378, allocations: 101.4 kB / 0.6915 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1379, allocations: 17.47 kB / 0.6915 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.1382, allocations: 177.4 kB / 0.6917 GB, free: 8.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.412e-06/0.1382, allocations: 0.5625 kB / 0.6917 GB, free: 8.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005503/0.1387, allocations: 372.2 kB / 0.692 GB, free: 7.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1388, allocations: 136.5 kB / 0.6922 GB, free: 7.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.139, allocations: 300.9 kB / 0.6924 GB, free: 7.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1391, allocations: 33.7 kB / 0.6925 GB, free: 7.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.1392, allocations: 132.6 kB / 0.6926 GB, free: 7.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.1392, allocations: 110.5 kB / 0.6927 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1393, allocations: 29.7 kB / 0.6927 GB, free: 7.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.1394, allocations: 334.8 kB / 0.6931 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1395, allocations: 83.95 kB / 0.6931 GB, free: 6.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1397, allocations: 119.3 kB / 0.6932 GB, free: 6.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.14, allocations: 209.6 kB / 0.6934 GB, free: 6.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.14, allocations: 0 / 0.6934 GB, free: 6.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000362/0.1403, allocations: 269.2 kB / 0.6937 GB, free: 6.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.1403, allocations: 4 kB / 0.6937 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1404, allocations: 4 kB / 0.6937 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.1404, allocations: 0 / 0.6937 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.1406, allocations: 67.91 kB / 0.6938 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1406, allocations: 3.938 kB / 0.6938 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.1407, allocations: 35.67 kB / 0.6938 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1407, allocations: 15.98 kB / 0.6938 GB, free: 5.898 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.0001258/0.1409, allocations: 159.1 kB / 0.694 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.1409, allocations: 23.72 kB / 0.694 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.1415, allocations: 384.8 kB / 0.6944 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1415, allocations: 4 kB / 0.6944 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1415, allocations: 3.938 kB / 0.6944 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1416, allocations: 0 / 0.6944 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1418, allocations: 337.2 kB / 0.6947 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1418, allocations: 0 / 0.6947 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.142, allocations: 55.97 kB / 0.6948 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.142, allocations: 0 / 0.6948 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.142, allocations: 11.94 kB / 0.6948 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.142, allocations: 7.984 kB / 0.6948 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.142, allocations: 7.938 kB / 0.6948 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.1424, allocations: 314.2 kB / 0.6951 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1425, allocations: 152.7 kB / 0.6952 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1426, allocations: 8 kB / 0.6952 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1427, allocations: 15.98 kB / 0.6952 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1428, allocations: 27.91 kB / 0.6953 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1428, allocations: 12 kB / 0.6953 GB, free: 4.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.143, allocations: 236.4 kB / 0.6955 GB, free: 4.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.143, allocations: 3.938 kB / 0.6955 GB, free: 4.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1433, allocations: 59.98 kB / 0.6956 GB, free: 4.008 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.001327/0.1446, allocations: 1.146 MB / 0.6967 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1449, allocations: 232.2 kB / 0.6969 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.145, allocations: 0 / 0.6969 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1451, allocations: 123.9 kB / 0.697 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1454, allocations: 36.59 kB / 0.6971 GB, free: 2.602 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.002471/0.1479, allocations: 2.508 MB / 0.6995 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1481, allocations: 0.7625 MB / 0.7003 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002859/0.1484, allocations: 142.9 kB / 0.7004 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1485, allocations: 91.39 kB / 0.7005 GB, free: 15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1485, allocations: 0 / 0.7005 GB, free: 15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 28.01/28.16, allocations: 5.045 MB / 0.7054 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/28.16, allocations: 290.7 kB / 0.7057 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/29.8, allocations: 0 / 0.7057 GB, free: 9.805 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)