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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004535/0.004535, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001053/0.001053, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 279 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 91.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1649, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002675/0.1676, allocations: 1.638 MB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1695, allocations: 1.168 MB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1696, allocations: 4 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.1698, allocations: 23.8 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1701, allocations: 67.69 kB / 0.7692 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1705, allocations: 134.8 kB / 0.7694 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.1708, allocations: 237.6 kB / 0.7696 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.171, allocations: 20.17 kB / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.1711, allocations: 87.75 kB / 0.7697 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1713, allocations: 91.77 kB / 0.7698 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.1714, allocations: 16 kB / 0.7698 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1715, allocations: 75.97 kB / 0.7699 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.1716, allocations: 79.8 kB / 0.7699 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1717, allocations: 107.3 kB / 0.77 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1721, allocations: 274.8 kB / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1721, allocations: 0 / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1721, allocations: 0 / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1721, allocations: 4 kB / 0.7703 GB, free: 4.406 MB / 0.5606 GB 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.0007277/0.1728, allocations: 0.5455 MB / 0.7708 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1729, allocations: 8.031 kB / 0.7708 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.173, allocations: 28.75 kB / 0.7709 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1732, allocations: 267.8 kB / 0.7711 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1733, allocations: 16.31 kB / 0.7711 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.1733, allocations: 20.38 kB / 0.7712 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.1736, allocations: 217.5 kB / 0.7714 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1736, allocations: 0 / 0.7714 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1737, allocations: 8 kB / 0.7714 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1737, allocations: 4 kB / 0.7714 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.1745, allocations: 0.7487 MB / 0.7721 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.1753, allocations: 0.563 MB / 0.7727 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.1758, allocations: 303.6 kB / 0.773 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1759, allocations: 101.4 kB / 0.773 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.176, allocations: 28.23 kB / 0.7731 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.1763, allocations: 164.9 kB / 0.7732 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.1763, allocations: 4 kB / 0.7732 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006362/0.1769, allocations: 377.7 kB / 0.7736 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.177, allocations: 132.5 kB / 0.7737 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1773, allocations: 300.1 kB / 0.774 GB, free: 388 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.1773, allocations: 33.7 kB / 0.774 GB, free: 348 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1774, allocations: 124.8 kB / 0.7742 GB, free: 220 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.1775, allocations: 119 kB / 0.7743 GB, free: 100 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.1776, allocations: 61.69 kB / 0.7743 GB, free: 32 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.3107/0.4883, allocations: 337.7 kB / 0.7747 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.4886, allocations: 80.16 kB / 0.7747 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.4888, allocations: 125.2 kB / 0.7748 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.4892, allocations: 216.1 kB / 0.7751 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4892, allocations: 0.8438 kB / 0.7751 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000514/0.4897, allocations: 279.2 kB / 0.7753 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4898, allocations: 7.219 kB / 0.7753 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4898, allocations: 0 / 0.7753 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4898, allocations: 4.531 kB / 0.7753 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.4901, allocations: 59.98 kB / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.4901, allocations: 4.938 kB / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4902, allocations: 26.31 kB / 0.7754 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.4903, allocations: 13.41 kB / 0.7754 GB, free: 14.54 MB / 0.5606 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.0001643/0.4905, allocations: 164.1 kB / 0.7756 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.4905, allocations: 29.31 kB / 0.7756 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.4912, allocations: 375.3 kB / 0.776 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4912, allocations: 3.938 kB / 0.776 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4912, allocations: 7.453 kB / 0.776 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4912, allocations: 2.359 kB / 0.776 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.4915, allocations: 327.1 kB / 0.7763 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4915, allocations: 0.5156 kB / 0.7763 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4917, allocations: 59.09 kB / 0.7764 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4917, allocations: 5.156 kB / 0.7764 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.4917, allocations: 16.27 kB / 0.7764 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4917, allocations: 1 kB / 0.7764 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4917, allocations: 5.516 kB / 0.7764 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.4922, allocations: 324.8 kB / 0.7767 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4923, allocations: 143.4 kB / 0.7768 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.4923, allocations: 8.156 kB / 0.7768 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4924, allocations: 13.62 kB / 0.7769 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.4925, allocations: 32.53 kB / 0.7769 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.4925, allocations: 15.12 kB / 0.7769 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001904/0.4927, allocations: 229.9 kB / 0.7771 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4928, allocations: 0.625 kB / 0.7771 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002909/0.493, allocations: 57.91 kB / 0.7772 GB, free: 13.91 MB / 0.5606 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.0009316/0.494, allocations: 412.8 kB / 0.7776 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.4945, allocations: 227.8 kB / 0.7778 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4945, allocations: 1.062 kB / 0.7778 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.4947, allocations: 130.8 kB / 0.7779 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.495, allocations: 31.08 kB / 0.7779 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.4957, allocations: 0.5008 MB / 0.7784 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.4959, allocations: 0.7569 MB / 0.7792 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003254/0.4963, allocations: 147.7 kB / 0.7793 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.4964, allocations: 44.64 kB / 0.7794 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4964, allocations: 4 kB / 0.7794 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.006736/0.5031, allocations: 3.02 MB / 0.7823 GB, free: 12.57 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)