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.0007927/0.0007926, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005/0.005, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.34/1.34, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.644/1.644, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0005033/0.0005035, allocations: 16.78 kB / 0.6743 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2247, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005354/0.2301, allocations: 4.4 MB / 0.7922 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.653/0.8831, allocations: 146.6 MB / 0.9353 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.8842, allocations: 14.44 kB / 0.9353 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.8848, allocations: 143.8 kB / 0.9355 GB, free: 1.461 MB / 0.7169 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.001462/0.8863, allocations: 448.8 kB / 0.9359 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.8882, allocations: 0.7787 MB / 0.9366 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.8897, allocations: 1.581 MB / 0.9382 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008821/0.8906, allocations: 0.6823 MB / 0.9389 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.8912, allocations: 430.9 kB / 0.9393 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.8918, allocations: 0.5061 MB / 0.9398 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.8919, allocations: 36.31 kB / 0.9398 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008609/0.8928, allocations: 420.8 kB / 0.9402 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.893, allocations: 263.3 kB / 0.9404 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.8936, allocations: 0.5533 MB / 0.941 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.8956, allocations: 1.764 MB / 0.9427 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8956, allocations: 0.875 kB / 0.9427 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8956, allocations: 0 / 0.9427 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.8957, allocations: 0 / 0.9427 GB, free: 16.73 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.00257/0.8983, allocations: 1.368 MB / 0.944 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.8983, allocations: 11.7 kB / 0.9441 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009945/0.9083, allocations: 1.552 MB / 0.9456 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.9104, allocations: 0.9074 MB / 0.9465 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.9105, allocations: 84.08 kB / 0.9465 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.9108, allocations: 114.1 kB / 0.9466 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/0.9163, allocations: 2.057 MB / 0.9487 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.9163, allocations: 0 / 0.9487 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.9165, allocations: 50.47 kB / 0.9487 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.9165, allocations: 27.78 kB / 0.9487 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008293/0.9248, allocations: 2.921 MB / 0.9516 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009295/0.9341, allocations: 4.12 MB / 0.9556 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008194/0.9424, allocations: 2.82 MB / 0.9584 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/0.9457, allocations: 1.122 MB / 0.9595 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007081/0.9465, allocations: 0.6101 MB / 0.9601 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003991/0.9505, allocations: 1.369 MB / 0.9614 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=120): time 3.627e-06/0.9505, allocations: 0 / 0.9614 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=120): time 0.01125/0.9617, allocations: 3.557 MB / 0.9649 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/0.9618, allocations: 193 kB / 0.965 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.9629, allocations: 0.7094 MB / 0.9657 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.963, allocations: 51.98 kB / 0.9658 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.9634, allocations: 451.2 kB / 0.9662 GB, free: 10 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.9637, allocations: 397 kB / 0.9666 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.9639, allocations: 90.39 kB / 0.9667 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9641, allocations: 401.1 kB / 0.9671 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/0.9673, allocations: 1.042 MB / 0.9681 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/0.9706, allocations: 1.169 MB / 0.9692 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006313/0.977, allocations: 2.087 MB / 0.9713 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.977, allocations: 0 / 0.9713 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007457/0.9844, allocations: 2.454 MB / 0.9737 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.9845, allocations: 4.656 kB / 0.9737 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.9845, allocations: 6.953 kB / 0.9737 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/0.9851, allocations: 80.62 kB / 0.9737 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.9876, allocations: 470.8 kB / 0.9742 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.9896, allocations: 1.546 MB / 0.9757 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.9921, allocations: 317.6 kB / 0.976 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.9923, allocations: 61.67 kB / 0.9761 GB, free: 5.871 MB / 0.7325 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.0007551/0.993, allocations: 316.2 kB / 0.9764 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.9934, allocations: 101 kB / 0.9765 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008617/1.002, allocations: 2.833 MB / 0.9792 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.002, allocations: 14.19 kB / 0.9792 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.002, allocations: 0 / 0.9792 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/1.002, allocations: 7.969 kB / 0.9793 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.013, allocations: 4.362 MB / 0.9835 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.013, allocations: 0 / 0.9835 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.015, allocations: 457 kB / 0.9839 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/1.016, allocations: 87.48 kB / 0.984 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.016, allocations: 49.72 kB / 0.9841 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.018, allocations: 1.569 MB / 0.9856 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.018, allocations: 0 / 0.9856 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007991/1.026, allocations: 2.585 MB / 0.9881 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.027, allocations: 418 kB / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.027, allocations: 29.86 kB / 0.9886 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.03, allocations: 276.6 kB / 0.9888 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.03, allocations: 89 kB / 0.9889 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.03, allocations: 54.47 kB / 0.989 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008512/1.031, allocations: 0.5141 MB / 0.9895 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.71e-07/1.031, allocations: 0 / 0.9895 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00165/1.033, allocations: 433.8 kB / 0.9899 GB, free: 14.02 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.001641/1.034, allocations: 0.601 MB / 0.9905 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00746/1.042, allocations: 2.477 MB / 0.9929 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.042, allocations: 0 / 0.9929 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003809/1.046, allocations: 1.369 MB / 0.9942 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.048, allocations: 298.7 kB / 0.9945 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/1.056, allocations: 3.467 MB / 0.9979 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/1.056, allocations: 1.125 MB / 0.999 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002017/1.058, allocations: 466.5 kB / 0.9994 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/1.059, allocations: 157 kB / 0.9996 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/1.059, allocations: 0 / 0.9996 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of Templates: time 0.03223/1.091, allocations: 19.93 MB / 1.019 GB, free: 4.953 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: