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.0008269/0.0008269, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.004757/0.004757, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.19/1.19, allocations: 223.2 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 286.4 kB / 291.7 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8627/0.8627, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 16.62 kB / 0.5988 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 88.54 MB / 0.6852 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001773/0.1463, allocations: 1.345 MB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1478, allocations: 1.136 MB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1478, allocations: 0.5 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.148, allocations: 25.11 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1482, allocations: 51.77 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1485, allocations: 124.4 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1488, allocations: 213.6 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.1489, allocations: 25.58 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.1489, allocations: 67.77 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1491, allocations: 83.16 kB / 0.6882 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1492, allocations: 8 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1493, allocations: 71.97 kB / 0.6883 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.1494, allocations: 75.73 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.1495, allocations: 124 kB / 0.6885 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1498, allocations: 267.1 kB / 0.6887 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1498, allocations: 0 / 0.6887 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1498, allocations: 0 / 0.6887 GB, free: 11.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1498, allocations: 0 / 0.6887 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.000641/0.1504, allocations: 492 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1505, allocations: 8.656 kB / 0.6892 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.1505, allocations: 50.73 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.1506, allocations: 25.47 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1508, allocations: 263.7 kB / 0.6895 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1509, allocations: 14.22 kB / 0.6896 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1509, allocations: 16.38 kB / 0.6896 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1512, allocations: 222 kB / 0.6898 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1513, allocations: 0 / 0.6898 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1513, allocations: 6.469 kB / 0.6898 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1513, allocations: 4 kB / 0.6898 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.1521, allocations: 0.7449 MB / 0.6905 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.1528, allocations: 0.5648 MB / 0.6911 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.1533, allocations: 299.6 kB / 0.6914 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1534, allocations: 109.9 kB / 0.6915 GB, free: 8.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.1535, allocations: 17.97 kB / 0.6915 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.1538, allocations: 176.8 kB / 0.6917 GB, free: 8.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.1538, allocations: 0.6562 kB / 0.6917 GB, free: 8.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.000595/0.1544, allocations: 369.6 kB / 0.692 GB, free: 7.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.1545, allocations: 137.2 kB / 0.6921 GB, free: 7.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.1548, allocations: 304.9 kB / 0.6924 GB, free: 7.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1548, allocations: 33.7 kB / 0.6925 GB, free: 7.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1549, allocations: 117.4 kB / 0.6926 GB, free: 7.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/0.155, allocations: 122.3 kB / 0.6927 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1551, allocations: 27.03 kB / 0.6927 GB, free: 7.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1552, allocations: 338.8 kB / 0.693 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1553, allocations: 80.7 kB / 0.6931 GB, free: 6.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.1555, allocations: 128.5 kB / 0.6932 GB, free: 6.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1558, allocations: 217.6 kB / 0.6934 GB, free: 6.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1558, allocations: 0 / 0.6934 GB, free: 6.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004051/0.1562, allocations: 277.2 kB / 0.6937 GB, free: 5.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1562, allocations: 7.938 kB / 0.6937 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1562, allocations: 0 / 0.6937 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1563, allocations: 4 kB / 0.6937 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1565, allocations: 63.91 kB / 0.6938 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1565, allocations: 0 / 0.6938 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1566, allocations: 35.77 kB / 0.6938 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1567, allocations: 8 kB / 0.6938 GB, free: 5.844 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.0001589/0.1568, allocations: 167 kB / 0.694 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.1569, allocations: 27.62 kB / 0.694 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.1575, allocations: 380.5 kB / 0.6944 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.1575, allocations: 4 kB / 0.6944 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1575, allocations: 0 / 0.6944 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1575, allocations: 7.875 kB / 0.6944 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.1578, allocations: 333.3 kB / 0.6947 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1578, allocations: 0 / 0.6947 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.158, allocations: 51.97 kB / 0.6948 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.158, allocations: 0 / 0.6948 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.158, allocations: 8 kB / 0.6948 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.158, allocations: 4 kB / 0.6948 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.158, allocations: 3.938 kB / 0.6948 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1585, allocations: 331.1 kB / 0.6951 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1586, allocations: 152.6 kB / 0.6952 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1586, allocations: 4 kB / 0.6952 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1588, allocations: 19.98 kB / 0.6953 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1588, allocations: 31.84 kB / 0.6953 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1589, allocations: 8 kB / 0.6953 GB, free: 4.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1591, allocations: 237.8 kB / 0.6955 GB, free: 4.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1591, allocations: 0 / 0.6955 GB, free: 4.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1593, allocations: 63.94 kB / 0.6956 GB, free: 3.949 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.001465/0.1608, allocations: 1.15 MB / 0.6967 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.1612, allocations: 227.9 kB / 0.6969 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1612, allocations: 4 kB / 0.6969 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1614, allocations: 124.4 kB / 0.697 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.1616, allocations: 41.34 kB / 0.6971 GB, free: 2.531 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.002745/0.1644, allocations: 2.516 MB / 0.6995 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1647, allocations: 0.7613 MB / 0.7003 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003019/0.165, allocations: 150.8 kB / 0.7004 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1652, allocations: 91.39 kB / 0.7005 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1652, allocations: 4 kB / 0.7005 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.469/1.635, allocations: 4.995 MB / 0.7054 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/1.635, allocations: 282.3 kB / 0.7057 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/3.283, allocations: 2.188 kB / 0.7057 GB, free: 9.754 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)