Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_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.000807/0.000807, allocations: 91.3 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.004552/0.004552, allocations: 171.5 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.468/1.468, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004395, allocations: 16.47 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00152/0.1662, allocations: 1.332 MB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1674, allocations: 1.039 MB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.1674, allocations: 0 / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1676, allocations: 23.91 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1677, allocations: 55.83 kB / 0.7904 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.168, allocations: 106.4 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1682, allocations: 209.6 kB / 0.7907 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.1683, allocations: 24.2 kB / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.1684, allocations: 59.83 kB / 0.7908 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1685, allocations: 83.72 kB / 0.7909 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1686, allocations: 12 kB / 0.7909 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.1687, allocations: 59.95 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1687, allocations: 71.81 kB / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.1688, allocations: 117.1 kB / 0.7911 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1691, allocations: 247.2 kB / 0.7913 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1691, allocations: 0 / 0.7913 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1691, allocations: 0 / 0.7913 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.1691, allocations: 0 / 0.7913 GB, free: 8.043 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005437/0.1696, allocations: 499.5 kB / 0.7918 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1697, allocations: 8.031 kB / 0.7918 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.1697, allocations: 54.73 kB / 0.7919 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1698, allocations: 24.66 kB / 0.7919 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.17, allocations: 263.6 kB / 0.7922 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.17, allocations: 12.38 kB / 0.7922 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1701, allocations: 16.38 kB / 0.7922 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1703, allocations: 213.4 kB / 0.7924 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1704, allocations: 3.984 kB / 0.7924 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1704, allocations: 8 kB / 0.7924 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1704, allocations: 4 kB / 0.7924 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.1711, allocations: 0.7372 MB / 0.7931 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.1718, allocations: 0.563 MB / 0.7937 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.1722, allocations: 303.6 kB / 0.794 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1724, allocations: 109.3 kB / 0.7941 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.1724, allocations: 16.25 kB / 0.7941 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.1727, allocations: 172.9 kB / 0.7942 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.1727, allocations: 0 / 0.7942 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0005352/0.1732, allocations: 375 kB / 0.7946 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.1733, allocations: 140.5 kB / 0.7947 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1735, allocations: 296.1 kB / 0.795 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1736, allocations: 33.7 kB / 0.795 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.1736, allocations: 124.7 kB / 0.7952 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.1737, allocations: 114.4 kB / 0.7953 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1737, allocations: 29.7 kB / 0.7953 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1738, allocations: 342.8 kB / 0.7956 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.174, allocations: 83.95 kB / 0.7957 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1741, allocations: 124.4 kB / 0.7958 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1744, allocations: 213 kB / 0.796 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1744, allocations: 4 kB / 0.796 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003572/0.1748, allocations: 281.4 kB / 0.7963 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.1748, allocations: 4 kB / 0.7963 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.1748, allocations: 0 / 0.7963 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.1748, allocations: 4 kB / 0.7963 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.175, allocations: 67.89 kB / 0.7964 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.175, allocations: 0 / 0.7964 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1752, allocations: 27.84 kB / 0.7964 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1752, allocations: 15.92 kB / 0.7964 GB, free: 2.559 MB / 0.6075 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.0001267/0.1753, allocations: 166.4 kB / 0.7966 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1754, allocations: 23.72 kB / 0.7966 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.1759, allocations: 380.4 kB / 0.797 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1759, allocations: 4 kB / 0.797 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.176, allocations: 0 / 0.797 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.176, allocations: 3.984 kB / 0.797 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1762, allocations: 329.2 kB / 0.7973 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1762, allocations: 0 / 0.7973 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1764, allocations: 63.91 kB / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1764, allocations: 0 / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1764, allocations: 11.98 kB / 0.7974 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1764, allocations: 8 kB / 0.7974 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1764, allocations: 0 / 0.7974 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1768, allocations: 318.2 kB / 0.7977 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1769, allocations: 148.7 kB / 0.7978 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.177, allocations: 4 kB / 0.7978 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1771, allocations: 15.98 kB / 0.7978 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.1771, allocations: 27.97 kB / 0.7979 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.1772, allocations: 19.92 kB / 0.7979 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001668/0.1773, allocations: 233.5 kB / 0.7981 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 0 / 0.7981 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002421/0.1776, allocations: 59.98 kB / 0.7982 GB, free: 0.6797 MB / 0.6075 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.001253/0.1789, allocations: 1.15 MB / 0.7993 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.1792, allocations: 227.8 kB / 0.7995 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1792, allocations: 0 / 0.7995 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1794, allocations: 131.8 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1796, allocations: 39.03 kB / 0.7997 GB, free: 15.25 MB / 0.6231 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.002351/0.182, allocations: 2.506 MB / 0.8021 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1822, allocations: 0.7573 MB / 0.8028 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.1825, allocations: 146.8 kB / 0.803 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1826, allocations: 87.41 kB / 0.8031 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.1826, allocations: 0 / 0.8031 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.195/4.378, allocations: 4.974 MB / 0.8079 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/4.378, allocations: 266.4 kB / 0.8082 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/7.015, allocations: 0 / 0.8082 GB, free: 6.516 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)