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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 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.00112/0.00112, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.171/1.171, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.527/1.527, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001312/0.001312, allocations: 67.38 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00264/0.1709, allocations: 1.612 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1721, allocations: 1.075 MB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.1722, allocations: 4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1724, allocations: 23.84 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1726, allocations: 63.64 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1729, allocations: 115.1 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1731, allocations: 229.6 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.1732, allocations: 24.19 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.1733, allocations: 83.75 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1735, allocations: 83.77 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.1735, allocations: 20 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1737, allocations: 63.98 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.1737, allocations: 83.8 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1738, allocations: 99.39 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.1741, allocations: 267.1 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1741, allocations: 0 / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1741, allocations: 4 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1741, allocations: 0 / 0.7872 GB, free: 9.516 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.0006306/0.1747, allocations: 0.5228 MB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1748, allocations: 8.031 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.1748, allocations: 46.73 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.1749, allocations: 32.66 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1751, allocations: 267.7 kB / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1752, allocations: 8.375 kB / 0.7881 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1752, allocations: 16.38 kB / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1755, allocations: 213.3 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1755, allocations: 0 / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.1755, allocations: 8 kB / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1755, allocations: 11.94 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.1763, allocations: 0.734 MB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.177, allocations: 0.559 MB / 0.7896 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.1774, allocations: 295.6 kB / 0.7899 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1776, allocations: 109.4 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.1776, allocations: 20.25 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.1779, allocations: 172.9 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.1779, allocations: 0 / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0005737/0.1785, allocations: 371.1 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.1785, allocations: 132.5 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.1788, allocations: 296.1 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1788, allocations: 33.7 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1789, allocations: 132.6 kB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.179, allocations: 110.5 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.179, allocations: 61.69 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.1791, allocations: 346.7 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1793, allocations: 79.95 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1794, allocations: 123.8 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1797, allocations: 220.9 kB / 0.792 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1797, allocations: 0 / 0.792 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003817/0.1801, allocations: 281.5 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1801, allocations: 8 kB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1802, allocations: 3.984 kB / 0.7923 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1802, allocations: 0 / 0.7923 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1804, allocations: 59.91 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1804, allocations: 0 / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1805, allocations: 27.83 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.1806, allocations: 23.94 kB / 0.7924 GB, free: 3.973 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.0001246/0.1807, allocations: 157.8 kB / 0.7925 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.1807, allocations: 23.72 kB / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.1812, allocations: 316.3 kB / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1812, allocations: 4 kB / 0.7928 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1812, allocations: 8 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1812, allocations: 0 / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1815, allocations: 337.1 kB / 0.7932 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1815, allocations: 0 / 0.7932 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1817, allocations: 59.91 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1817, allocations: 4 kB / 0.7932 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1817, allocations: 8 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1817, allocations: 0 / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1817, allocations: 0 / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.1821, allocations: 328.5 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1823, allocations: 140.6 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1823, allocations: 12.05 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1824, allocations: 15.97 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.1825, allocations: 23.97 kB / 0.7937 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1825, allocations: 15.98 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001685/0.1827, allocations: 229.5 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1827, allocations: 4 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002541/0.183, allocations: 59.98 kB / 0.794 GB, free: 2.16 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.001299/0.1843, allocations: 1.141 MB / 0.7951 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.1847, allocations: 307.7 kB / 0.7954 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1847, allocations: 0 / 0.7954 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.1849, allocations: 131.8 kB / 0.7956 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1851, allocations: 31.52 kB / 0.7956 GB, free: 0.668 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.002343/0.1875, allocations: 2.455 MB / 0.798 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1878, allocations: 0.7574 MB / 0.7987 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.188, allocations: 142.9 kB / 0.7989 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1882, allocations: 87.41 kB / 0.7989 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.1882, allocations: 4 kB / 0.7989 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.054/3.242, allocations: 5.405 MB / 0.8042 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/15.1, allocations: 21.91 kB / 0.8042 GB, free: 7.848 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)