Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001498/0.001498, 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.001899/0.001899, allocations: 194.9 kB / 16.14 MB, free: 6.703 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.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.996 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.588/1.588, allocations: 251.6 MB / 0.5088 GB, free: 3.309 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.001532/0.001532, allocations: 71.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6578, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003996/0.6619, allocations: 1.674 MB / 0.7254 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.6638, allocations: 1.05 MB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.6638, allocations: 7.938 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.6641, allocations: 19.92 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.6644, allocations: 47.83 kB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.6647, allocations: 114.7 kB / 0.7267 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.665, allocations: 205.6 kB / 0.7268 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.6651, allocations: 19.97 kB / 0.7269 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.6652, allocations: 63.89 kB / 0.7269 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.6655, allocations: 91.7 kB / 0.727 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.6655, allocations: 8 kB / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.6657, allocations: 55.92 kB / 0.7271 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.6658, allocations: 75.8 kB / 0.7271 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.6659, allocations: 91.39 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.6663, allocations: 253.2 kB / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6663, allocations: 0 / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.52e-07/0.6663, allocations: 0 / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6663, allocations: 0 / 0.7275 GB, free: 9.359 MB / 0.545 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.0008025/0.6671, allocations: 0.5228 MB / 0.728 GB, free: 8.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6671, allocations: 12.03 kB / 0.728 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.6672, allocations: 32.59 kB / 0.728 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.6675, allocations: 255.7 kB / 0.7283 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6675, allocations: 12.38 kB / 0.7283 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.6676, allocations: 20.31 kB / 0.7283 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.6679, allocations: 209 kB / 0.7285 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.668, allocations: 0 / 0.7285 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.668, allocations: 8 kB / 0.7285 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.668, allocations: 4 kB / 0.7285 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009561/0.669, allocations: 0.7334 MB / 0.7292 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.67, allocations: 0.5745 MB / 0.7298 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.6705, allocations: 291.7 kB / 0.7301 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.6707, allocations: 105.4 kB / 0.7302 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.6707, allocations: 16.25 kB / 0.7302 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.6711, allocations: 180.8 kB / 0.7304 GB, free: 6.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.6712, allocations: 0 / 0.7304 GB, free: 6.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0006744/0.6718, allocations: 365.2 kB / 0.7307 GB, free: 5.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.6719, allocations: 140.5 kB / 0.7308 GB, free: 5.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.6722, allocations: 300 kB / 0.7311 GB, free: 5.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.6722, allocations: 33.7 kB / 0.7312 GB, free: 5.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.6724, allocations: 116.8 kB / 0.7313 GB, free: 5.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.6724, allocations: 114.4 kB / 0.7314 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.6725, allocations: 69.67 kB / 0.7314 GB, free: 5.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6727, allocations: 338.8 kB / 0.7318 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.6728, allocations: 79.95 kB / 0.7318 GB, free: 4.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.673, allocations: 131.8 kB / 0.732 GB, free: 4.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.6733, allocations: 217.5 kB / 0.7322 GB, free: 4.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6733, allocations: 0 / 0.7322 GB, free: 4.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004172/0.6738, allocations: 273 kB / 0.7324 GB, free: 3.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6738, allocations: 8 kB / 0.7324 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6738, allocations: 0 / 0.7324 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6738, allocations: 0 / 0.7324 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.674, allocations: 63.91 kB / 0.7325 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.674, allocations: 0 / 0.7325 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.6742, allocations: 27.77 kB / 0.7325 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.6742, allocations: 23.98 kB / 0.7326 GB, free: 3.875 MB / 0.545 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.000213/0.6744, allocations: 165.6 kB / 0.7327 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.6745, allocations: 27.62 kB / 0.7327 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.6751, allocations: 385.5 kB / 0.7331 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6752, allocations: 4 kB / 0.7331 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6752, allocations: 0 / 0.7331 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6752, allocations: 11.98 kB / 0.7331 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.6755, allocations: 325.2 kB / 0.7334 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6755, allocations: 0 / 0.7334 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.6756, allocations: 55.91 kB / 0.7335 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6757, allocations: 4 kB / 0.7335 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.6757, allocations: 8 kB / 0.7335 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6757, allocations: 3.984 kB / 0.7335 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6757, allocations: 0 / 0.7335 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.6761, allocations: 329.8 kB / 0.7338 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.6763, allocations: 140.7 kB / 0.734 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.6763, allocations: 8 kB / 0.734 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6765, allocations: 11.98 kB / 0.734 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.6765, allocations: 23.97 kB / 0.734 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.6766, allocations: 15.98 kB / 0.734 GB, free: 2.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001921/0.6768, allocations: 225.8 kB / 0.7342 GB, free: 2.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.413e-06/0.6768, allocations: 0 / 0.7342 GB, free: 2.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002775/0.677, allocations: 67.86 kB / 0.7343 GB, free: 2.004 MB / 0.545 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.0009241/0.678, allocations: 407.3 kB / 0.7347 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.6784, allocations: 223.8 kB / 0.7349 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6784, allocations: 0 / 0.7349 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.6786, allocations: 132.4 kB / 0.735 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.6788, allocations: 28.67 kB / 0.735 GB, free: 1.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.6797, allocations: 0.568 MB / 0.7356 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.68, allocations: 0.7542 MB / 0.7363 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.6804, allocations: 146.8 kB / 0.7365 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.6805, allocations: 43.42 kB / 0.7365 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6805, allocations: 0 / 0.7365 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.006331/0.6868, allocations: 2.894 MB / 0.7393 GB, free: 12.93 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)