Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006012/0.006012, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001111/0.001111, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.448/1.448, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.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.001467/0.001467, allocations: 67.91 kB / 0.7257 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2134, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006249/0.2197, allocations: 5 MB / 0.8329 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6808/0.9006, allocations: 151.1 MB / 0.9804 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.9022, allocations: 21.53 kB / 0.9804 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.9035, allocations: 192.8 kB / 0.9806 GB, free: 3.004 MB / 0.7325 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.002781/0.9063, allocations: 0.5051 MB / 0.9811 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.9096, allocations: 0.9142 MB / 0.982 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002874/0.9125, allocations: 1.713 MB / 0.9837 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.9142, allocations: 0.8737 MB / 0.9845 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.9156, allocations: 0.6368 MB / 0.9851 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.9169, allocations: 0.7014 MB / 0.9858 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005894/0.9175, allocations: 170.7 kB / 0.986 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.9193, allocations: 0.5612 MB / 0.9865 GB, free: 284 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.92, allocations: 441.6 kB / 0.987 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.9213, allocations: 0.7368 MB / 0.9877 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.9243, allocations: 2.167 MB / 0.9898 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9244, allocations: 0 / 0.9898 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9244, allocations: 0 / 0.9898 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.249e-05/0.9244, allocations: 0 / 0.9898 GB, free: 14.02 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003563/0.928, allocations: 1.724 MB / 0.9915 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.928, allocations: 10 kB / 0.9915 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/0.9375, allocations: 1.273 MB / 0.9927 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.9398, allocations: 1.007 MB / 0.9937 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.9399, allocations: 96.47 kB / 0.9938 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.9402, allocations: 122.5 kB / 0.9939 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/0.9456, allocations: 2.106 MB / 0.996 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.9456, allocations: 0 / 0.996 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.9458, allocations: 53.06 kB / 0.996 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.9458, allocations: 28.31 kB / 0.9961 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008103/0.9539, allocations: 2.887 MB / 0.9989 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008826/0.9628, allocations: 4.568 MB / 1.003 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008708/0.9715, allocations: 2.744 MB / 1.006 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/0.9754, allocations: 1.086 MB / 1.007 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008238/0.9763, allocations: 0.6066 MB / 1.008 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003983/0.9803, allocations: 1.346 MB / 1.009 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=121): time 4.9e-06/0.9803, allocations: 96 / 1.009 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121): time 0.01244/0.9928, allocations: 3.436 MB / 1.012 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.9929, allocations: 192.9 kB / 1.013 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.9941, allocations: 0.743 MB / 1.013 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.9944, allocations: 53.36 kB / 1.013 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/0.9951, allocations: 492.4 kB / 1.014 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007152/0.9958, allocations: 406.1 kB / 1.014 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007386/0.9966, allocations: 254.7 kB / 1.014 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.9968, allocations: 349.9 kB / 1.015 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.002, allocations: 1.009 MB / 1.016 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/1.007, allocations: 1.132 MB / 1.017 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00902/1.016, allocations: 1.98 MB / 1.019 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.016, allocations: 0 / 1.019 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.01084/1.027, allocations: 2.37 MB / 1.021 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.027, allocations: 4 kB / 1.021 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.027, allocations: 4 kB / 1.021 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/1.028, allocations: 80.91 kB / 1.021 GB, free: 6.309 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.031, allocations: 415.3 kB / 1.022 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.034, allocations: 1.645 MB / 1.023 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/1.037, allocations: 270.8 kB / 1.023 GB, free: 3.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/1.037, allocations: 55.94 kB / 1.023 GB, free: 3.793 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 (135): * Single equations (assignments): 134 * 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.001051/1.038, allocations: 333.1 kB / 1.024 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/1.039, allocations: 106.7 kB / 1.024 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.051, allocations: 2.674 MB / 1.027 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.051, allocations: 16 kB / 1.027 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.051, allocations: 0.5 kB / 1.027 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/1.051, allocations: 7.969 kB / 1.027 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.067, allocations: 4.583 MB / 1.031 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/1.067, allocations: 64 / 1.031 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/1.07, allocations: 407.3 kB / 1.031 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/1.071, allocations: 72.8 kB / 1.031 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.071, allocations: 47.94 kB / 1.032 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/1.073, allocations: 1.662 MB / 1.033 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.073, allocations: 3.938 kB / 1.033 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009287/1.083, allocations: 2.501 MB / 1.036 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/1.084, allocations: 447.1 kB / 1.036 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.084, allocations: 24 kB / 1.036 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.086, allocations: 215.6 kB / 1.036 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.086, allocations: 89.19 kB / 1.036 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.086, allocations: 59.94 kB / 1.036 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007362/1.087, allocations: 0.5342 MB / 1.037 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.11e-07/1.087, allocations: 0 / 1.037 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001343/1.088, allocations: 450.9 kB / 1.037 GB, free: 5.336 MB / 0.7794 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 (135): * Single equations (assignments): 132 * 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.001449/1.09, allocations: 0.5849 MB / 1.038 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007311/1.097, allocations: 2.422 MB / 1.04 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.097, allocations: 3.984 kB / 1.04 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.101, allocations: 1.337 MB / 1.042 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.103, allocations: 325.9 kB / 1.042 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/1.11, allocations: 2.935 MB / 1.045 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/1.111, allocations: 1.159 MB / 1.046 GB, free: 12.67 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00185/1.113, allocations: 472.6 kB / 1.046 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/1.113, allocations: 159.3 kB / 1.046 GB, free: 12.05 MB / 0.795 GB Notification: Performance of SimCode: time 1.012e-06/1.113, allocations: 0 / 1.046 GB, free: 12.05 MB / 0.795 GB Notification: Performance of Templates: time 0.03568/1.149, allocations: 22.05 MB / 1.068 GB, free: 6.152 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)