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.001119/0.001119, 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.001107/0.001107, allocations: 194 kB / 16.53 MB, free: 6.391 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 290.7 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001719, allocations: 99.28 kB / 0.5954 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1382, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003046/0.1413, allocations: 1.66 MB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1428, allocations: 1.176 MB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.1429, allocations: 0 / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1431, allocations: 31.77 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1434, allocations: 63.64 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1437, allocations: 150.5 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.144, allocations: 241.6 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.1441, allocations: 19.97 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.1442, allocations: 87.75 kB / 0.6836 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1444, allocations: 95.7 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.1444, allocations: 20 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1446, allocations: 79.98 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.1447, allocations: 87.8 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.1448, allocations: 107.3 kB / 0.684 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1451, allocations: 283.2 kB / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1451, allocations: 0 / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1451, allocations: 0 / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1451, allocations: 0 / 0.6843 GB, free: 12.5 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.0007182/0.1458, allocations: 0.5422 MB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1459, allocations: 8.031 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1459, allocations: 50.73 kB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.146, allocations: 28.66 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1463, allocations: 272.8 kB / 0.6851 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1463, allocations: 8.375 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1463, allocations: 16.38 kB / 0.6852 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1467, allocations: 221.2 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1467, allocations: 0 / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1467, allocations: 8 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1467, allocations: 8 kB / 0.6854 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.1475, allocations: 0.741 MB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.1483, allocations: 0.5858 MB / 0.6867 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.1487, allocations: 219.5 kB / 0.6869 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1488, allocations: 100.8 kB / 0.687 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.1489, allocations: 23.97 kB / 0.687 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.1492, allocations: 169.5 kB / 0.6872 GB, free: 9.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.1492, allocations: 0 / 0.6872 GB, free: 9.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006238/0.1499, allocations: 368.2 kB / 0.6875 GB, free: 8.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.1499, allocations: 132.5 kB / 0.6877 GB, free: 8.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1502, allocations: 312.9 kB / 0.688 GB, free: 8.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1502, allocations: 29.7 kB / 0.688 GB, free: 8.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.1503, allocations: 132.6 kB / 0.6881 GB, free: 8.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.1504, allocations: 102.5 kB / 0.6882 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.1505, allocations: 65.69 kB / 0.6883 GB, free: 8.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1506, allocations: 338.8 kB / 0.6886 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1508, allocations: 75.95 kB / 0.6887 GB, free: 7.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1509, allocations: 127.6 kB / 0.6888 GB, free: 7.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.1513, allocations: 209.2 kB / 0.689 GB, free: 7.398 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1513, allocations: 0 / 0.689 GB, free: 7.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004161/0.1517, allocations: 273.2 kB / 0.6892 GB, free: 7.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1517, allocations: 8 kB / 0.6893 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1517, allocations: 0 / 0.6893 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1517, allocations: 0 / 0.6893 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.1519, allocations: 63.91 kB / 0.6893 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1519, allocations: 7.875 kB / 0.6893 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1521, allocations: 27.73 kB / 0.6894 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1521, allocations: 19.98 kB / 0.6894 GB, free: 7 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.000142/0.1523, allocations: 163.1 kB / 0.6895 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1523, allocations: 23.72 kB / 0.6895 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.153, allocations: 372.8 kB / 0.6899 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.153, allocations: 4 kB / 0.6899 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.153, allocations: 3.938 kB / 0.6899 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.153, allocations: 7.938 kB / 0.6899 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.1533, allocations: 333.2 kB / 0.6902 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1533, allocations: 0 / 0.6902 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.1535, allocations: 51.97 kB / 0.6903 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1535, allocations: 0 / 0.6903 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1535, allocations: 12 kB / 0.6903 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1536, allocations: 0 / 0.6903 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.1536, allocations: 7.922 kB / 0.6903 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.154, allocations: 330.2 kB / 0.6906 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1542, allocations: 140.6 kB / 0.6908 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.1542, allocations: 8 kB / 0.6908 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.1544, allocations: 19.98 kB / 0.6908 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1544, allocations: 23.91 kB / 0.6908 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.1545, allocations: 15.98 kB / 0.6908 GB, free: 5.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1547, allocations: 236.4 kB / 0.691 GB, free: 5.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1547, allocations: 0 / 0.691 GB, free: 5.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.155, allocations: 52 kB / 0.6911 GB, free: 5.129 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.001437/0.1564, allocations: 1.149 MB / 0.6922 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1569, allocations: 296.2 kB / 0.6925 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1569, allocations: 4 kB / 0.6925 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.1571, allocations: 127.8 kB / 0.6926 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1574, allocations: 47.2 kB / 0.6927 GB, free: 3.637 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.002529/0.1599, allocations: 2.424 MB / 0.695 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1602, allocations: 0.7535 MB / 0.6958 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.1605, allocations: 146.8 kB / 0.6959 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1606, allocations: 95.39 kB / 0.696 GB, free: 120 kB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1606, allocations: 0 / 0.696 GB, free: 120 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5908/0.7514, allocations: 5.484 MB / 0.7014 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.177/7.928, allocations: 7.844 kB / 0.7014 GB, free: 10.83 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)