Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007567/0.0007567, allocations: 92.31 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.000828/0.0008279, 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.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.639/1.639, allocations: 252 MB / 0.5102 GB, free: 4.836 MB / 414.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.0005199/0.0005199, allocations: 20 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5464, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004963/0.5514, allocations: 3.825 MB / 0.7319 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1631/0.7145, allocations: 136.8 MB / 0.8655 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007335/0.7153, allocations: 15.94 kB / 0.8655 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.7159, allocations: 162.8 kB / 0.8657 GB, free: 14.2 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001355/0.7173, allocations: 400.5 kB / 0.866 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.7189, allocations: 0.5997 MB / 0.8666 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.72, allocations: 1.043 MB / 0.8677 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007071/0.7207, allocations: 491.3 kB / 0.8681 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.7212, allocations: 306.5 kB / 0.8684 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.7216, allocations: 330.2 kB / 0.8687 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.7217, allocations: 24 kB / 0.8687 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006292/0.7223, allocations: 279.7 kB / 0.869 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.7225, allocations: 167.2 kB / 0.8692 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.7227, allocations: 189.1 kB / 0.8694 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.7237, allocations: 1.075 MB / 0.8704 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7237, allocations: 3.984 kB / 0.8704 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7237, allocations: 0 / 0.8704 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.7238, allocations: 4 kB / 0.8704 GB, free: 9.305 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001824/0.7256, allocations: 1.169 MB / 0.8716 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7256, allocations: 8.031 kB / 0.8716 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.7264, allocations: 198.4 kB / 0.8718 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.7274, allocations: 0.7077 MB / 0.8724 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.7274, allocations: 58 kB / 0.8725 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.7275, allocations: 76 kB / 0.8726 GB, free: 7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.729, allocations: 0.8716 MB / 0.8734 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.729, allocations: 0 / 0.8734 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.7291, allocations: 32 kB / 0.8735 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.7291, allocations: 23.95 kB / 0.8735 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.7307, allocations: 1.089 MB / 0.8745 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.734, allocations: 2.447 MB / 0.8769 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.7353, allocations: 0.7453 MB / 0.8777 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.7357, allocations: 286.7 kB / 0.8779 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.7359, allocations: 117.8 kB / 0.878 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007579/0.7367, allocations: 444.5 kB / 0.8785 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 2.004e-06/0.7367, allocations: 0 / 0.8785 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.002689/0.7394, allocations: 1.139 MB / 0.8796 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.7395, allocations: 196.6 kB / 0.8798 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/0.7402, allocations: 0.6137 MB / 0.8804 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.7403, allocations: 37.7 kB / 0.8804 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.7406, allocations: 392.3 kB / 0.8808 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.7407, allocations: 244.5 kB / 0.881 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.7408, allocations: 16 kB / 0.881 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.741, allocations: 382.8 kB / 0.8814 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.7415, allocations: 253.9 kB / 0.8816 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.742, allocations: 343 kB / 0.882 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.7426, allocations: 298.9 kB / 0.8822 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7426, allocations: 4 kB / 0.8822 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00162/0.7442, allocations: 0.8214 MB / 0.883 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7442, allocations: 4 kB / 0.8831 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7442, allocations: 0 / 0.8831 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.7448, allocations: 88.86 kB / 0.8831 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.7454, allocations: 147.8 kB / 0.8833 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.7476, allocations: 1.532 MB / 0.8848 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.7482, allocations: 91.42 kB / 0.8849 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.7482, allocations: 27.98 kB / 0.8849 GB, free: 9.957 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000426/0.7487, allocations: 269.7 kB / 0.8851 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7488, allocations: 78.97 kB / 0.8852 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.7509, allocations: 1.018 MB / 0.8862 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7509, allocations: 8 kB / 0.8862 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.7509, allocations: 0 / 0.8862 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.751, allocations: 7.984 kB / 0.8862 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.7519, allocations: 0.8722 MB / 0.8871 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7519, allocations: 0 / 0.8871 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.7525, allocations: 151.8 kB / 0.8872 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.7529, allocations: 80.78 kB / 0.8873 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.753, allocations: 23.92 kB / 0.8873 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.7547, allocations: 1.56 MB / 0.8888 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7547, allocations: 0 / 0.8888 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.7563, allocations: 0.8732 MB / 0.8897 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.7566, allocations: 275.7 kB / 0.89 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.7567, allocations: 23.95 kB / 0.89 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.7572, allocations: 67.94 kB / 0.8901 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7574, allocations: 60.92 kB / 0.8901 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.7574, allocations: 31.97 kB / 0.8901 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005477/0.758, allocations: 447 kB / 0.8906 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.758, allocations: 0 / 0.8906 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007868/0.7588, allocations: 279.2 kB / 0.8908 GB, free: 3.613 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.7601, allocations: 0.561 MB / 0.8914 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.7616, allocations: 0.7806 MB / 0.8921 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7616, allocations: 4 kB / 0.8921 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008026/0.7625, allocations: 0.4963 MB / 0.8926 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7635, allocations: 267.8 kB / 0.8929 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.7673, allocations: 2.158 MB / 0.895 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.7679, allocations: 1.007 MB / 0.896 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000785/0.7686, allocations: 254.1 kB / 0.8962 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.7689, allocations: 103.3 kB / 0.8963 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7689, allocations: 0 / 0.8963 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.02151/0.7904, allocations: 12.9 MB / 0.9089 GB, free: 1.355 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) Environment - environmentSimulation: