Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, 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.001422/0.001422, allocations: 190.2 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.296/1.296, allocations: 205.1 MB / 222 MB, free: 4.961 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.651/1.651, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001267/0.001267, allocations: 72.19 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2073, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006195/0.2136, allocations: 4.82 MB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6365/0.8501, allocations: 148.5 MB / 0.9324 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.8512, allocations: 18.78 kB / 0.9325 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.8519, allocations: 146.8 kB / 0.9326 GB, free: 5.207 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.00149/0.8534, allocations: 431.6 kB / 0.933 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.8554, allocations: 0.7844 MB / 0.9338 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.8572, allocations: 1.586 MB / 0.9353 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009144/0.8581, allocations: 0.6985 MB / 0.936 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007516/0.8589, allocations: 0.5128 MB / 0.9365 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.8596, allocations: 0.6154 MB / 0.9371 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.8598, allocations: 74.75 kB / 0.9372 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009902/0.8608, allocations: 463.8 kB / 0.9376 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.8611, allocations: 338.2 kB / 0.9379 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006047/0.8617, allocations: 0.6097 MB / 0.9385 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.8637, allocations: 1.822 MB / 0.9403 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8637, allocations: 0 / 0.9403 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8637, allocations: 0 / 0.9403 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.8637, allocations: 0 / 0.9403 GB, free: 4.902 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003148/0.8669, allocations: 1.641 MB / 0.9419 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8669, allocations: 9.297 kB / 0.9419 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009279/0.8762, allocations: 1.261 MB / 0.9432 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.8787, allocations: 0.9043 MB / 0.944 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/0.8788, allocations: 86.8 kB / 0.9441 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.879, allocations: 107 kB / 0.9442 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/0.8838, allocations: 1.933 MB / 0.9461 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.8838, allocations: 0 / 0.9461 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.884, allocations: 51.03 kB / 0.9462 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.884, allocations: 32.02 kB / 0.9462 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007328/0.8913, allocations: 2.68 MB / 0.9488 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008625/0.9, allocations: 4.045 MB / 0.9528 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007707/0.9078, allocations: 2.536 MB / 0.9552 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/0.9106, allocations: 1.004 MB / 0.9562 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.9112, allocations: 0.6073 MB / 0.9568 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003207/0.9144, allocations: 1.258 MB / 0.958 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=120): time 3.046e-06/0.9145, allocations: 0 / 0.958 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=120): time 0.00996/0.9244, allocations: 3.211 MB / 0.9612 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.9246, allocations: 196.9 kB / 0.9614 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.9257, allocations: 0.7046 MB / 0.962 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.9259, allocations: 48.27 kB / 0.9621 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.9262, allocations: 450.1 kB / 0.9625 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.9265, allocations: 399.6 kB / 0.9629 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.927, allocations: 247.5 kB / 0.9631 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9272, allocations: 401.2 kB / 0.9635 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/0.9301, allocations: 0.9247 MB / 0.9644 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/0.933, allocations: 1.057 MB / 0.9655 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005195/0.9382, allocations: 1.856 MB / 0.9673 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9382, allocations: 0 / 0.9673 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006533/0.9447, allocations: 2.225 MB / 0.9694 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.9448, allocations: 6.438 kB / 0.9694 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.9448, allocations: 3.188 kB / 0.9695 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.9454, allocations: 92.06 kB / 0.9695 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.9476, allocations: 408.6 kB / 0.9699 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.9496, allocations: 1.532 MB / 0.9714 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.9517, allocations: 269.1 kB / 0.9717 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.9518, allocations: 58.41 kB / 0.9717 GB, free: 14.14 MB / 0.7481 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 (134): * Single equations (assignments): 133 * Array equations: 0 * 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.0008403/0.9527, allocations: 311.1 kB / 0.972 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.9529, allocations: 99.5 kB / 0.9721 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007167/0.9601, allocations: 2.607 MB / 0.9747 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.9602, allocations: 13.03 kB / 0.9747 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9602, allocations: 0 / 0.9747 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.9602, allocations: 7.969 kB / 0.9747 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008676/0.9689, allocations: 4.136 MB / 0.9787 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.9689, allocations: 0 / 0.9787 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/0.9718, allocations: 405.9 kB / 0.9791 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006819/0.9725, allocations: 85.39 kB / 0.9792 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.9727, allocations: 42.8 kB / 0.9792 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.9751, allocations: 1.571 MB / 0.9808 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9751, allocations: 0 / 0.9808 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/0.9846, allocations: 2.354 MB / 0.9831 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.9857, allocations: 401.6 kB / 0.9835 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/0.9861, allocations: 24.69 kB / 0.9835 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/0.988, allocations: 215.7 kB / 0.9837 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.9882, allocations: 83.62 kB / 0.9838 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.9883, allocations: 56.16 kB / 0.9838 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007175/0.989, allocations: 0.5111 MB / 0.9843 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9891, allocations: 1.781 kB / 0.9843 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001814/0.9909, allocations: 437.6 kB / 0.9847 GB, free: 8.461 MB / 0.7481 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 (134): * Single equations (assignments): 131 * 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.001889/0.9928, allocations: 0.5936 MB / 0.9853 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009329/1.002, allocations: 2.249 MB / 0.9875 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.002, allocations: 0 / 0.9875 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004894/1.007, allocations: 1.256 MB / 0.9887 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.009, allocations: 285.7 kB / 0.989 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/1.016, allocations: 3.304 MB / 0.9922 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/1.017, allocations: 1.124 MB / 0.9933 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001839/1.019, allocations: 466.4 kB / 0.9938 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/1.019, allocations: 150.3 kB / 0.9939 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/1.019, allocations: 0 / 0.9939 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of Templates: time 0.03097/1.05, allocations: 20.08 MB / 1.014 GB, free: 5.758 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)