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.001884/0.001884, 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.002081/0.002081, allocations: 199.4 kB / 16.54 MB, free: 6.672 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 282.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 100.8 kB / 0.6065 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1505, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003295/0.1539, allocations: 1.631 MB / 0.6952 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1557, allocations: 1.164 MB / 0.6963 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1558, allocations: 5.25 kB / 0.6963 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.156, allocations: 27.84 kB / 0.6964 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.1563, allocations: 68.33 kB / 0.6964 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1567, allocations: 128.5 kB / 0.6966 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.157, allocations: 241.6 kB / 0.6968 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1571, allocations: 20.17 kB / 0.6968 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1573, allocations: 83.75 kB / 0.6969 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1575, allocations: 87.77 kB / 0.697 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.1575, allocations: 16 kB / 0.697 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1577, allocations: 83.97 kB / 0.6971 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1578, allocations: 87.73 kB / 0.6972 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.158, allocations: 99.39 kB / 0.6972 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1583, allocations: 275.2 kB / 0.6975 GB, free: 240 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1583, allocations: 4 kB / 0.6975 GB, free: 236 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1583, allocations: 0 / 0.6975 GB, free: 236 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1584, allocations: 0 / 0.6975 GB, free: 236 kB / 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.0008655/0.1592, allocations: 0.5305 MB / 0.698 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1593, allocations: 12.03 kB / 0.698 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.615e-05/0.1593, allocations: 46.73 kB / 0.6981 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.1594, allocations: 24.66 kB / 0.6981 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1598, allocations: 267.7 kB / 0.6984 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1598, allocations: 8.375 kB / 0.6984 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.1598, allocations: 20.38 kB / 0.6984 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1602, allocations: 225 kB / 0.6986 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1602, allocations: 3.938 kB / 0.6986 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1603, allocations: 4 kB / 0.6986 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1603, allocations: 4 kB / 0.6986 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/0.1613, allocations: 0.7412 MB / 0.6993 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.1621, allocations: 0.5667 MB / 0.6999 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.1627, allocations: 312.8 kB / 0.7002 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1629, allocations: 105.4 kB / 0.7003 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.1629, allocations: 16.25 kB / 0.7003 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.1633, allocations: 180.8 kB / 0.7005 GB, free: 13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.1633, allocations: 0 / 0.7005 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007283/0.164, allocations: 366 kB / 0.7008 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.1641, allocations: 136.5 kB / 0.701 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.1645, allocations: 304 kB / 0.7013 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1645, allocations: 33.7 kB / 0.7013 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.1646, allocations: 116.8 kB / 0.7014 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.1647, allocations: 118.3 kB / 0.7015 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.1648, allocations: 73.67 kB / 0.7016 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.165, allocations: 334.8 kB / 0.7019 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1652, allocations: 79.95 kB / 0.702 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1654, allocations: 123.4 kB / 0.7021 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.1657, allocations: 218.8 kB / 0.7023 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1658, allocations: 0 / 0.7023 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004978/0.1663, allocations: 281.1 kB / 0.7026 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1663, allocations: 4 kB / 0.7026 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1663, allocations: 4 kB / 0.7026 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1663, allocations: 4 kB / 0.7026 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.1665, allocations: 63.91 kB / 0.7026 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1666, allocations: 0 / 0.7026 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1667, allocations: 31.67 kB / 0.7027 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.1668, allocations: 15.98 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB 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.0001722/0.1669, allocations: 158.3 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.167, allocations: 27.72 kB / 0.7029 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.1677, allocations: 380.7 kB / 0.7032 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1678, allocations: 4 kB / 0.7032 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1678, allocations: 0 / 0.7032 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1678, allocations: 11.86 kB / 0.7032 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1681, allocations: 325.3 kB / 0.7036 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1682, allocations: 0 / 0.7036 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1683, allocations: 59.97 kB / 0.7036 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1684, allocations: 4 kB / 0.7036 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.1684, allocations: 11.98 kB / 0.7036 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1684, allocations: 3.938 kB / 0.7036 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1684, allocations: 3.938 kB / 0.7036 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.1689, allocations: 313.8 kB / 0.7039 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.1691, allocations: 140.7 kB / 0.7041 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1691, allocations: 8 kB / 0.7041 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1693, allocations: 15.98 kB / 0.7041 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.1694, allocations: 27.91 kB / 0.7041 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.1694, allocations: 19.98 kB / 0.7041 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002304/0.1696, allocations: 233.6 kB / 0.7044 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1696, allocations: 0 / 0.7044 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002945/0.1699, allocations: 63.91 kB / 0.7044 GB, free: 8.77 MB / 0.4981 GB 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.002158/0.1721, allocations: 1.165 MB / 0.7056 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.1727, allocations: 295.8 kB / 0.7058 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1727, allocations: 0 / 0.7058 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.1729, allocations: 135.8 kB / 0.706 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1732, allocations: 37.16 kB / 0.706 GB, free: 7.266 MB / 0.4981 GB 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.003061/0.1762, allocations: 2.444 MB / 0.7084 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1766, allocations: 0.7496 MB / 0.7091 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.177, allocations: 146.8 kB / 0.7093 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1771, allocations: 91.39 kB / 0.7093 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1771, allocations: 3.938 kB / 0.7094 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.498/0.6751, allocations: 5.438 MB / 0.7147 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.503, allocations: 15.27 kB / 0.7147 GB, free: 14.44 MB / 0.5137 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)