Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001065/0.001065, allocations: 191.6 kB / 16.13 MB, free: 6.707 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.313/1.313, allocations: 205.1 MB / 222 MB, free: 4.785 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.702/1.702, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001308/0.001308, allocations: 61.7 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2475, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007301/0.2549, allocations: 5.476 MB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6003/0.8552, allocations: 152.7 MB / 0.9371 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.8563, allocations: 23.38 kB / 0.9371 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.8619, allocations: 1.615 MB / 0.9387 GB, free: 5.102 MB / 0.7325 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.002435/0.8644, allocations: 0.6287 MB / 0.9393 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.8668, allocations: 0.7763 MB / 0.9401 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002743/0.8695, allocations: 2.269 MB / 0.9423 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.8708, allocations: 0.919 MB / 0.9432 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.872, allocations: 0.7032 MB / 0.9439 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.8731, allocations: 0.7958 MB / 0.9447 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.8733, allocations: 93.03 kB / 0.9448 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.8773, allocations: 1.958 MB / 0.9467 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.8786, allocations: 1.035 MB / 0.9477 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.88, allocations: 0.7591 MB / 0.9484 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007055/0.887, allocations: 3.318 MB / 0.9517 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8871, allocations: 0.5938 kB / 0.9517 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8871, allocations: 0 / 0.9517 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.473e-05/0.8872, allocations: 0.5938 kB / 0.9517 GB, free: 4.449 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005755/0.8929, allocations: 2.186 MB / 0.9538 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.893, allocations: 9.25 kB / 0.9538 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.8941, allocations: 247.7 kB / 0.954 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.8978, allocations: 2.866 MB / 0.9568 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.8979, allocations: 91.86 kB / 0.9569 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.8981, allocations: 125 kB / 0.957 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.9004, allocations: 1.251 MB / 0.9583 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.9004, allocations: 1.875 kB / 0.9583 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.9005, allocations: 49.31 kB / 0.9583 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.9006, allocations: 28.28 kB / 0.9583 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.9029, allocations: 1.415 MB / 0.9597 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007737/0.9107, allocations: 4.775 MB / 0.9644 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.9126, allocations: 0.9986 MB / 0.9654 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.9132, allocations: 402.8 kB / 0.9658 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.9133, allocations: 36.8 kB / 0.9658 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009584/0.9143, allocations: 0.5659 MB / 0.9663 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=88): time 2.985e-06/0.9143, allocations: 0 / 0.9663 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88): time 0.003705/0.918, allocations: 1.477 MB / 0.9678 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.9182, allocations: 189.8 kB / 0.968 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/0.9227, allocations: 4.03 MB / 0.9719 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.9231, allocations: 48.92 kB / 0.9719 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.9237, allocations: 0.6198 MB / 0.9726 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.924, allocations: 300.8 kB / 0.9728 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007631/0.9248, allocations: 0.9306 MB / 0.9737 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9249, allocations: 307.5 kB / 0.974 GB, free: 16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005002/0.9299, allocations: 6.288 MB / 0.9802 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005986/0.9359, allocations: 6.527 MB / 0.9866 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/0.9433, allocations: 7.393 MB / 0.9938 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.9434, allocations: 2.531 kB / 0.9938 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01543/0.9588, allocations: 14.05 MB / 1.007 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.9589, allocations: 6.031 kB / 1.008 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.9589, allocations: 0 / 1.008 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.9596, allocations: 88.86 kB / 1.008 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.9608, allocations: 228.6 kB / 1.008 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.9631, allocations: 1.523 MB / 1.009 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.9646, allocations: 122 kB / 1.009 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.9648, allocations: 60.83 kB / 1.009 GB, free: 12.47 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (143): * Single equations (assignments): 130 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001092/0.9659, allocations: 0.5934 MB / 1.01 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.9662, allocations: 126.3 kB / 1.01 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.9694, allocations: 1.331 MB / 1.011 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.9695, allocations: 16 kB / 1.011 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9695, allocations: 0 / 1.011 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.9695, allocations: 7.969 kB / 1.011 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.9743, allocations: 2.538 MB / 1.014 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.9743, allocations: 0 / 1.014 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.9751, allocations: 167.4 kB / 1.014 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.9756, allocations: 83.41 kB / 1.014 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.9757, allocations: 31.97 kB / 1.014 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.9777, allocations: 1.544 MB / 1.016 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9777, allocations: 0.9375 kB / 1.016 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.9803, allocations: 1.201 MB / 1.017 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.9809, allocations: 339 kB / 1.017 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.9812, allocations: 16 kB / 1.017 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.9819, allocations: 55.94 kB / 1.017 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.9821, allocations: 76.89 kB / 1.017 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/0.9822, allocations: 39.98 kB / 1.017 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002751/0.9849, allocations: 2.581 MB / 1.02 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9849, allocations: 0 / 1.02 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003196/0.9881, allocations: 0.9389 MB / 1.021 GB, free: 0.6094 MB / 0.7637 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002749/0.9909, allocations: 0.9106 MB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009123/1, allocations: 8.28 MB / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1, allocations: 0 / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/1.001, allocations: 0.6066 MB / 1.03 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.004, allocations: 306.9 kB / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009255/1.013, allocations: 5.523 MB / 1.036 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.015, allocations: 1.692 MB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00157/1.016, allocations: 365.5 kB / 1.038 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/1.017, allocations: 139.3 kB / 1.038 GB, free: 14.98 MB / 0.795 GB Notification: Performance of SimCode: time 9.11e-07/1.017, allocations: 0 / 1.038 GB, free: 14.98 MB / 0.795 GB Notification: Performance of Templates: time 0.05287/1.07, allocations: 26.45 MB / 1.064 GB, free: 4.754 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)