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.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001446/0.001446, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.316/1.316, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.675/1.675, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.002134/0.002134, allocations: 73.11 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2292, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006891/0.2361, allocations: 4.824 MB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.618/0.8542, allocations: 148.6 MB / 0.9327 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.8551, allocations: 23.09 kB / 0.9327 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.8559, allocations: 147 kB / 0.9329 GB, free: 5.246 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.001762/0.8577, allocations: 447 kB / 0.9333 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.86, allocations: 0.8045 MB / 0.9341 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.8616, allocations: 1.6 MB / 0.9356 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008679/0.8624, allocations: 0.7176 MB / 0.9363 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.8632, allocations: 0.5923 MB / 0.9369 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.8639, allocations: 0.6547 MB / 0.9376 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.8641, allocations: 144.7 kB / 0.9377 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.8651, allocations: 0.5148 MB / 0.9382 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005301/0.8657, allocations: 402.5 kB / 0.9386 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007523/0.8664, allocations: 0.6811 MB / 0.9392 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.8687, allocations: 1.881 MB / 0.9411 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8687, allocations: 0 / 0.9411 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8688, allocations: 2.625 kB / 0.9411 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.8688, allocations: 1.875 kB / 0.9411 GB, free: 4.941 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.003066/0.8718, allocations: 1.636 MB / 0.9427 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8719, allocations: 10.5 kB / 0.9427 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008972/0.8809, allocations: 1.259 MB / 0.9439 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.8822, allocations: 0.9043 MB / 0.9448 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.8822, allocations: 89.2 kB / 0.9449 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.8824, allocations: 109.4 kB / 0.945 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004971/0.8874, allocations: 1.931 MB / 0.9469 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.8874, allocations: 3.578 kB / 0.9469 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.8876, allocations: 50.22 kB / 0.9469 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.8876, allocations: 27.5 kB / 0.947 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007814/0.8955, allocations: 2.678 MB / 0.9496 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008248/0.9037, allocations: 4.052 MB / 0.9535 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007695/0.9115, allocations: 2.537 MB / 0.956 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.9145, allocations: 1 MB / 0.957 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000583/0.9151, allocations: 0.6075 MB / 0.9576 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003365/0.9185, allocations: 1.257 MB / 0.9588 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=120): time 2.725e-06/0.9185, allocations: 1.375 kB / 0.9588 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=120): time 0.01026/0.9287, allocations: 3.21 MB / 0.9619 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.9289, allocations: 193.8 kB / 0.9621 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.9299, allocations: 0.7089 MB / 0.9628 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.9301, allocations: 44.95 kB / 0.9629 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.9305, allocations: 454.5 kB / 0.9633 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.9308, allocations: 400.6 kB / 0.9637 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.9313, allocations: 246.9 kB / 0.9639 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.9315, allocations: 406 kB / 0.9643 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.9343, allocations: 0.9214 MB / 0.9652 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/0.9372, allocations: 1.051 MB / 0.9662 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.9425, allocations: 1.859 MB / 0.968 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9425, allocations: 2.594 kB / 0.968 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006581/0.9491, allocations: 2.217 MB / 0.9702 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9491, allocations: 7.719 kB / 0.9702 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9492, allocations: 5.625 kB / 0.9702 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.9498, allocations: 83.36 kB / 0.9703 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.9521, allocations: 411.4 kB / 0.9707 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.9543, allocations: 1.651 MB / 0.9723 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.9567, allocations: 266.9 kB / 0.9726 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.9568, allocations: 58.47 kB / 0.9726 GB, free: 14.41 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.000775/0.9576, allocations: 313.6 kB / 0.9729 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.9579, allocations: 102 kB / 0.973 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007377/0.9653, allocations: 2.605 MB / 0.9756 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9653, allocations: 12.97 kB / 0.9756 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.9653, allocations: 0 / 0.9756 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.9653, allocations: 7.969 kB / 0.9756 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009172/0.9745, allocations: 4.139 MB / 0.9796 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.9745, allocations: 3.938 kB / 0.9796 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/0.9767, allocations: 399.7 kB / 0.98 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.9772, allocations: 76.81 kB / 0.9801 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.9773, allocations: 46.59 kB / 0.9801 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.9793, allocations: 1.678 MB / 0.9818 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9793, allocations: 1.203 kB / 0.9818 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006877/0.9862, allocations: 2.361 MB / 0.9841 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.9869, allocations: 397.9 kB / 0.9844 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.9872, allocations: 32.38 kB / 0.9845 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.9891, allocations: 211.2 kB / 0.9847 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.9893, allocations: 85.91 kB / 0.9848 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.9894, allocations: 58.34 kB / 0.9848 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006678/0.9901, allocations: 0.5117 MB / 0.9853 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9901, allocations: 0 / 0.9853 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00136/0.9915, allocations: 430.5 kB / 0.9857 GB, free: 8.375 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.001411/0.9929, allocations: 0.597 MB / 0.9863 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008173/1.001, allocations: 2.769 MB / 0.989 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.001, allocations: 1.203 kB / 0.989 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003492/1.005, allocations: 1.256 MB / 0.9902 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.006, allocations: 314.9 kB / 0.9905 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/1.013, allocations: 3.298 MB / 0.9938 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/1.014, allocations: 1.134 MB / 0.9949 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001998/1.016, allocations: 460.5 kB / 0.9953 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/1.017, allocations: 153.1 kB / 0.9955 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.017, allocations: 0 / 0.9955 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of Templates: time 0.03669/1.054, allocations: 20.83 MB / 1.016 GB, free: 4.156 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)