Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.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: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 109.3 kB / 16.38 MB, free: 6.004 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.001719/0.001719, allocations: 195.3 kB / 17.31 MB, free: 5.621 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.00143/0.00143, allocations: 68.69 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1938, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.3158/0.5096, allocations: 12.89 MB / 0.7974 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.6756, allocations: 163 MB / 0.9566 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.6782, allocations: 67.69 kB / 0.9566 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005944/0.6842, allocations: 2.439 MB / 0.959 GB, free: 7.641 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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'. [/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.004554/0.6888, allocations: 1.674 MB / 0.9607 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005322/0.6941, allocations: 2.368 MB / 0.963 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008131/0.7023, allocations: 7.92 MB / 0.9707 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.7051, allocations: 2.211 MB / 0.9729 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.7086, allocations: 2.644 MB / 0.9755 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.7124, allocations: 2.521 MB / 0.9779 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007556/0.7132, allocations: 0.5039 MB / 0.9784 GB, free: 3.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.7175, allocations: 2.723 MB / 0.9811 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00268/0.7202, allocations: 3.352 MB / 0.9843 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.7229, allocations: 2.422 MB / 0.9867 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.7319, allocations: 8.105 MB / 0.9946 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7319, allocations: 0 / 0.9946 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7319, allocations: 0 / 0.9946 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.00013/0.732, allocations: 0 / 0.9946 GB, free: 3.086 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01034/0.7424, allocations: 5.482 MB / 1 GB, free: 13.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7424, allocations: 12.02 kB / 1 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/0.7737, allocations: 4.841 MB / 1.005 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03643/0.8102, allocations: 12.45 MB / 1.017 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.8104, allocations: 217 kB / 1.017 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.8115, allocations: 292 kB / 1.017 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.8216, allocations: 4.565 MB / 1.022 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.8217, allocations: 3.938 kB / 1.022 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/0.822, allocations: 108 kB / 1.022 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.8221, allocations: 60 kB / 1.022 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009566/0.8316, allocations: 4.176 MB / 1.026 GB, free: 2.586 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.8558, allocations: 19.26 MB / 1.045 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009286/0.8651, allocations: 3.961 MB / 1.049 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006724/0.8719, allocations: 2.912 MB / 1.052 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/0.8724, allocations: 438.4 kB / 1.052 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007384/0.8798, allocations: 3.065 MB / 1.055 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=201): time 3.667e-06/0.8798, allocations: 0 / 1.055 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=201): time 0.04751/0.9273, allocations: 13.98 MB / 1.069 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/0.9276, allocations: 377.2 kB / 1.069 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01567/0.9433, allocations: 12.84 MB / 1.082 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0008864/0.9442, allocations: 81.7 kB / 1.082 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.9458, allocations: 1.623 MB / 1.083 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008089/0.9466, allocations: 0.6739 MB / 1.084 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002913/0.9496, allocations: 2.967 MB / 1.087 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.9496, allocations: 301.1 kB / 1.087 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02666/0.9763, allocations: 22.85 MB / 1.109 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02847/1.005, allocations: 23.55 MB / 1.132 GB, free: 4.336 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3481/1.353, allocations: 27.45 MB / 1.159 GB, free: 292.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.353, allocations: 4.719 kB / 1.159 GB, free: 292.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.06284/1.416, allocations: 51.46 MB / 1.209 GB, free: 267.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002592/1.416, allocations: 167.4 kB / 1.21 GB, free: 267.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04236/1.459, allocations: 37.1 MB / 1.246 GB, free: 233.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1197/1.578, allocations: 11.52 MB / 1.257 GB, free: 224.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005287/1.584, allocations: 0.8998 MB / 1.258 GB, free: 223.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.594, allocations: 8.33 MB / 1.266 GB, free: 215.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/1.601, allocations: 0.7422 MB / 1.267 GB, free: 214.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007321/1.602, allocations: 187.3 kB / 1.267 GB, free: 214.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02328/1.625, allocations: 24.45 MB / 1.291 GB, free: 189.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02266/1.648, allocations: 23.53 MB / 1.314 GB, free: 166.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02974/1.677, allocations: 27.42 MB / 1.341 GB, free: 138.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-05/1.677, allocations: 3 kB / 1.341 GB, free: 138.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=1083) (initialization_lambda0): time 0.05457/1.732, allocations: 50.43 MB / 1.39 GB, free: 88.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/1.732, allocations: 170.3 kB / 1.39 GB, free: 88.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04183/1.774, allocations: 36.74 MB / 1.426 GB, free: 51.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/1.778, allocations: 1.169 MB / 1.427 GB, free: 50.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/1.784, allocations: 1.015 MB / 1.428 GB, free: 49.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.797, allocations: 12.66 MB / 1.44 GB, free: 36.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.803, allocations: 0.6935 MB / 1.441 GB, free: 35.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006292/1.804, allocations: 184.1 kB / 1.441 GB, free: 35.66 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 266 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(12,49), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001035/1.805, allocations: 483 kB / 1.442 GB, free: 35.21 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006941/1.806, allocations: 347.5 kB / 1.442 GB, free: 34.87 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/1.827, allocations: 8.385 MB / 1.45 GB, free: 26.54 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/1.827, allocations: 19.89 kB / 1.45 GB, free: 26.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04047/1.867, allocations: 8.986 MB / 1.459 GB, free: 17.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/1.869, allocations: 0.9761 MB / 1.46 GB, free: 16.56 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/1.87, allocations: 44 kB / 1.46 GB, free: 16.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003677/1.874, allocations: 368.5 kB / 1.46 GB, free: 16.16 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/1.874, allocations: 137.8 kB / 1.461 GB, free: 16.02 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02542/1.9, allocations: 8.64 MB / 1.469 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01995/1.92, allocations: 9.326 MB / 1.478 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006833/1.926, allocations: 3.202 MB / 1.481 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.007773/1.934, allocations: 8.132 MB / 1.489 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/1.934, allocations: 0 / 1.489 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.3715/2.306, allocations: 58.78 MB / 1.547 GB, free: 294.8 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0182/2.324, allocations: 14.77 MB / 1.561 GB, free: 288.1 MB / 0.9356 GB Notification: Performance of Templates: time 0.2291/2.553, allocations: 156.1 MB / 1.713 GB, free: 139.6 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.pipe 2>&1)