Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001269/0.001269, 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.001315/0.001315, allocations: 193 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 294.6 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 95.84 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1396, allocations: 86.97 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002944/0.1425, allocations: 1.635 MB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1442, allocations: 1.176 MB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1443, allocations: 0 / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1445, allocations: 23.86 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1448, allocations: 75.61 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1452, allocations: 131.1 kB / 0.6832 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1454, allocations: 229.6 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.1456, allocations: 20.22 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1457, allocations: 87.75 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1459, allocations: 87.78 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.1459, allocations: 16 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1461, allocations: 83.97 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.1462, allocations: 83.73 kB / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.1463, allocations: 107.3 kB / 0.6839 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.1466, allocations: 271.2 kB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1466, allocations: 0 / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1466, allocations: 0 / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1466, allocations: 4 kB / 0.6842 GB, free: 12.54 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.0006913/0.1473, allocations: 0.5345 MB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1474, allocations: 8.031 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.1474, allocations: 50.73 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.1475, allocations: 28.56 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1478, allocations: 259.8 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1478, allocations: 12.38 kB / 0.6851 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1478, allocations: 16.36 kB / 0.6851 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1482, allocations: 229.2 kB / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1482, allocations: 0 / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.1482, allocations: 4 kB / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1483, allocations: 4 kB / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.1491, allocations: 0.741 MB / 0.686 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.1499, allocations: 0.5705 MB / 0.6866 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.1504, allocations: 303.6 kB / 0.6869 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1506, allocations: 101.4 kB / 0.687 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.1506, allocations: 24.23 kB / 0.687 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.151, allocations: 172.9 kB / 0.6872 GB, free: 9.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.151, allocations: 0 / 0.6872 GB, free: 9.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007094/0.1517, allocations: 373.7 kB / 0.6875 GB, free: 8.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.1518, allocations: 132.5 kB / 0.6876 GB, free: 8.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.1521, allocations: 307.9 kB / 0.6879 GB, free: 8.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1521, allocations: 37.7 kB / 0.688 GB, free: 8.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.1522, allocations: 116.8 kB / 0.6881 GB, free: 8.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.1523, allocations: 114.3 kB / 0.6882 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1524, allocations: 61.67 kB / 0.6882 GB, free: 8.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1525, allocations: 342.8 kB / 0.6886 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1527, allocations: 79.95 kB / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1529, allocations: 125.1 kB / 0.6888 GB, free: 7.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.1533, allocations: 221 kB / 0.689 GB, free: 7.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1533, allocations: 0 / 0.689 GB, free: 7.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004683/0.1538, allocations: 273.2 kB / 0.6892 GB, free: 7.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1538, allocations: 7.938 kB / 0.6892 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1538, allocations: 0 / 0.6892 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1538, allocations: 4 kB / 0.6893 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.154, allocations: 63.91 kB / 0.6893 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1541, allocations: 4 kB / 0.6893 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1543, allocations: 27.77 kB / 0.6893 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.1543, allocations: 8 kB / 0.6894 GB, free: 6.973 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 (35): * Single equations (assignments): 35 * 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.0001416/0.1544, allocations: 167 kB / 0.6895 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.1545, allocations: 23.72 kB / 0.6895 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.1552, allocations: 392.3 kB / 0.6899 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1553, allocations: 7.938 kB / 0.6899 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1553, allocations: 0 / 0.6899 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.1553, allocations: 3.938 kB / 0.6899 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.1556, allocations: 329.3 kB / 0.6902 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1556, allocations: 0 / 0.6902 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.1558, allocations: 55.91 kB / 0.6903 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1558, allocations: 0 / 0.6903 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1558, allocations: 8 kB / 0.6903 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1558, allocations: 8 kB / 0.6903 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1559, allocations: 3.984 kB / 0.6903 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.1563, allocations: 319.1 kB / 0.6906 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1565, allocations: 144.7 kB / 0.6907 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.1565, allocations: 4 kB / 0.6908 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1567, allocations: 17.53 kB / 0.6908 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.1568, allocations: 27.91 kB / 0.6908 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1568, allocations: 15.98 kB / 0.6908 GB, free: 5.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.157, allocations: 229.8 kB / 0.691 GB, free: 5.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.157, allocations: 0 / 0.691 GB, free: 5.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1574, allocations: 67.92 kB / 0.6911 GB, free: 5.09 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 (34): * Single equations (assignments): 33 * 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.001651/0.159, allocations: 1.164 MB / 0.6922 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005278/0.1596, allocations: 307.9 kB / 0.6925 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1596, allocations: 0 / 0.6925 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1598, allocations: 124.4 kB / 0.6926 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1601, allocations: 39.23 kB / 0.6927 GB, free: 3.59 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.002764/0.1628, allocations: 2.435 MB / 0.6951 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1632, allocations: 0.7574 MB / 0.6958 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.1635, allocations: 150.9 kB / 0.6959 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.1637, allocations: 95.33 kB / 0.696 GB, free: 48 kB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1637, allocations: 0 / 0.696 GB, free: 48 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3044/0.4681, allocations: 5.43 MB / 0.7013 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.647, allocations: 18.48 kB / 0.7014 GB, free: 10.77 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)