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.000685/0.000685, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0007253/0.0007254, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.472/1.472, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004557/0.0004559, allocations: 15.12 kB / 0.6738 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1615, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001461/0.163, allocations: 1.312 MB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.164, allocations: 1.008 MB / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.1641, allocations: 0 / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1643, allocations: 27.86 kB / 0.7897 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1644, allocations: 47.83 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1647, allocations: 107.2 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1649, allocations: 181.7 kB / 0.79 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.165, allocations: 24.25 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.165, allocations: 67.83 kB / 0.7901 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1652, allocations: 75.78 kB / 0.7902 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1652, allocations: 8 kB / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.1653, allocations: 59.91 kB / 0.7902 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1654, allocations: 67.75 kB / 0.7903 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.1654, allocations: 57.58 kB / 0.7904 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1656, allocations: 191.6 kB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1656, allocations: 0 / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1656, allocations: 4 kB / 0.7905 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1656, allocations: 4 kB / 0.7905 GB, free: 8.613 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.0005406/0.1662, allocations: 479.4 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1662, allocations: 8.031 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1663, allocations: 50.55 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.1663, allocations: 23.72 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1666, allocations: 270.4 kB / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1666, allocations: 12 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1666, allocations: 12 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.1669, allocations: 217.4 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1669, allocations: 0 / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1669, allocations: 8 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1669, allocations: 4 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.1677, allocations: 0.7295 MB / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.1683, allocations: 0.5668 MB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.1687, allocations: 291.6 kB / 0.7931 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1689, allocations: 113.3 kB / 0.7932 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.1689, allocations: 20.25 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.1692, allocations: 172.9 kB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.482e-06/0.1692, allocations: 0 / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0005283/0.1697, allocations: 371.1 kB / 0.7938 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1698, allocations: 132.5 kB / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.17, allocations: 300 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1701, allocations: 29.7 kB / 0.7942 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.1701, allocations: 124.7 kB / 0.7943 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.1702, allocations: 114.3 kB / 0.7944 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.1702, allocations: 8 kB / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.1703, allocations: 338.8 kB / 0.7948 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1704, allocations: 79.95 kB / 0.7948 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1706, allocations: 124.4 kB / 0.795 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1707, allocations: 99.91 kB / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1707, allocations: 0 / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003531/0.1711, allocations: 281.9 kB / 0.7953 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1711, allocations: 8 kB / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1711, allocations: 0 / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1711, allocations: 0 / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1713, allocations: 63.91 kB / 0.7954 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1714, allocations: 3.953 kB / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1715, allocations: 27.83 kB / 0.7954 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.1715, allocations: 15.98 kB / 0.7954 GB, free: 3.32 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1716, allocations: 166.4 kB / 0.7956 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1717, allocations: 31.56 kB / 0.7956 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.1722, allocations: 388.6 kB / 0.796 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1723, allocations: 4 kB / 0.796 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1723, allocations: 0 / 0.796 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1723, allocations: 7.953 kB / 0.796 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1725, allocations: 329.2 kB / 0.7963 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1725, allocations: 4 kB / 0.7963 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1727, allocations: 55.91 kB / 0.7964 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1727, allocations: 4 kB / 0.7964 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.1727, allocations: 8 kB / 0.7964 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1727, allocations: 0 / 0.7964 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1727, allocations: 0 / 0.7964 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.1731, allocations: 325.6 kB / 0.7967 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1732, allocations: 144.7 kB / 0.7968 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1733, allocations: 12 kB / 0.7969 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1734, allocations: 15.98 kB / 0.7969 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1735, allocations: 27.95 kB / 0.7969 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1735, allocations: 11.94 kB / 0.7969 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001659/0.1737, allocations: 233.6 kB / 0.7971 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1737, allocations: 0 / 0.7971 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000252/0.1739, allocations: 60 kB / 0.7972 GB, free: 1.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.1751, allocations: 1.159 MB / 0.7983 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.1755, allocations: 223.9 kB / 0.7985 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1755, allocations: 0 / 0.7985 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1756, allocations: 127.8 kB / 0.7987 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1759, allocations: 35.09 kB / 0.7987 GB, free: 4 kB / 0.6075 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.001744/0.1776, allocations: 1.463 MB / 0.8001 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1778, allocations: 0.7573 MB / 0.8009 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000275/0.1781, allocations: 142.9 kB / 0.801 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1782, allocations: 99.28 kB / 0.8011 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.1783, allocations: 0 / 0.8011 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3608/0.5391, allocations: 5.352 MB / 0.8063 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.5392, allocations: 255.7 kB / 0.8066 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.998, allocations: 0 / 0.8066 GB, free: 7.98 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/linux/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) Environment - environmentSimulation: