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.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001079/0.001079, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.103/1.103, allocations: 205.1 MB / 222 MB, free: 4.73 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.437/1.437, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001218/0.001218, allocations: 67.23 kB / 0.6709 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 114.6 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.0024/0.1577, allocations: 1.674 MB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1589, allocations: 1.043 MB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.159, allocations: 4 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.1591, allocations: 19.91 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1593, allocations: 51.83 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1596, allocations: 106.9 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1598, allocations: 205.6 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.1598, allocations: 28.19 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.614e-05/0.1599, allocations: 71.77 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1601, allocations: 83.77 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1601, allocations: 8 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1602, allocations: 55.98 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1603, allocations: 75.73 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.1604, allocations: 91.39 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1606, allocations: 263.1 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1607, allocations: 7.938 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.1607, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.1607, allocations: 0 / 0.7865 GB, free: 10.14 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.0005947/0.1613, allocations: 0.519 MB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1613, allocations: 8.031 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.1614, allocations: 50.73 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.1614, allocations: 24.66 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1616, allocations: 267.7 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1617, allocations: 12.38 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1617, allocations: 16.38 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.162, allocations: 217.3 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.162, allocations: 0 / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.162, allocations: 8 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.162, allocations: 4 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007135/0.1627, allocations: 0.7412 MB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.1634, allocations: 0.559 MB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.1639, allocations: 295.6 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.164, allocations: 109.4 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.164, allocations: 20.25 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.1643, allocations: 176.9 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 3.407e-06/0.1643, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0005606/0.1649, allocations: 375 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.165, allocations: 132.5 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1652, allocations: 296.1 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1652, allocations: 33.7 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.1653, allocations: 132.6 kB / 0.7903 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.1654, allocations: 106.5 kB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.1655, allocations: 65.69 kB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.1656, allocations: 342.8 kB / 0.7908 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1657, allocations: 75.95 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1659, allocations: 132.4 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1662, allocations: 216.9 kB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1662, allocations: 0 / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003801/0.1666, allocations: 289.5 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1666, allocations: 4 kB / 0.7915 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1666, allocations: 3.984 kB / 0.7915 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1666, allocations: 0 / 0.7915 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1668, allocations: 59.91 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1668, allocations: 4 kB / 0.7916 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.167, allocations: 27.77 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.167, allocations: 15.94 kB / 0.7916 GB, free: 4.598 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.0001263/0.1671, allocations: 162.4 kB / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.1672, allocations: 27.72 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.1678, allocations: 372.5 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1678, allocations: 7.984 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1678, allocations: 0 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1678, allocations: 0 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.1681, allocations: 333.1 kB / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1681, allocations: 0 / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1683, allocations: 63.91 kB / 0.7925 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1683, allocations: 4 kB / 0.7925 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1683, allocations: 15.98 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1683, allocations: 0 / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1683, allocations: 4 kB / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.1687, allocations: 318.2 kB / 0.7929 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1688, allocations: 140.7 kB / 0.793 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.1689, allocations: 8 kB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.169, allocations: 23.92 kB / 0.793 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1691, allocations: 23.97 kB / 0.7931 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1691, allocations: 8 kB / 0.7931 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001693/0.1693, allocations: 241.5 kB / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1693, allocations: 0 / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002501/0.1695, allocations: 60 kB / 0.7934 GB, free: 2.723 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.00129/0.1708, allocations: 1.151 MB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.1712, allocations: 227.8 kB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1712, allocations: 0 / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.1713, allocations: 127.8 kB / 0.7948 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1716, allocations: 40.53 kB / 0.7949 GB, free: 1.297 MB / 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.002447/0.174, allocations: 2.503 MB / 0.7973 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1743, allocations: 0.7574 MB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00027/0.1746, allocations: 146.9 kB / 0.7982 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1747, allocations: 91.33 kB / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1747, allocations: 0 / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.964/3.139, allocations: 5.201 MB / 0.8033 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/3.139, allocations: 264 kB / 0.8036 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/5.016, allocations: 0 / 0.8036 GB, free: 8.312 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)