Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001189/0.001189, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.4 MB, free: 4.594 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.805/1.805, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.002489/0.002489, allocations: 70.05 kB / 0.6715 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2705, allocations: 114.5 MB / 0.7833 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00699/0.2776, allocations: 4.984 MB / 0.7882 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7134/0.991, allocations: 151.1 MB / 0.9357 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/0.9919, allocations: 20.78 kB / 0.9358 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.9926, allocations: 189.6 kB / 0.9359 GB, free: 4.789 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 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'. [/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.001635/0.9942, allocations: 0.5053 MB / 0.9364 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.9963, allocations: 0.9077 MB / 0.9373 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.9979, allocations: 1.704 MB / 0.939 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.9989, allocations: 0.8711 MB / 0.9398 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.9998, allocations: 0.6376 MB / 0.9404 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/1.001, allocations: 0.6966 MB / 0.9411 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/1.001, allocations: 171.8 kB / 0.9413 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/1.002, allocations: 0.5474 MB / 0.9418 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/1.002, allocations: 442.3 kB / 0.9423 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007357/1.003, allocations: 0.7436 MB / 0.943 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/1.006, allocations: 2.113 MB / 0.945 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/1.006, allocations: 0.9688 kB / 0.945 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/1.006, allocations: 2.344 kB / 0.945 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.198e-05/1.006, allocations: 0 / 0.945 GB, free: 4.453 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003893/1.01, allocations: 1.732 MB / 0.9467 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/1.01, allocations: 10.62 kB / 0.9467 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009374/1.02, allocations: 1.273 MB / 0.948 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/1.022, allocations: 0.9819 MB / 0.9489 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.022, allocations: 90.47 kB / 0.949 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/1.022, allocations: 119.6 kB / 0.9491 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005804/1.028, allocations: 2.104 MB / 0.9512 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.028, allocations: 2.203 kB / 0.9512 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/1.029, allocations: 53.16 kB / 0.9513 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/1.029, allocations: 30.97 kB / 0.9513 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009018/1.038, allocations: 2.888 MB / 0.9541 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009214/1.047, allocations: 4.613 MB / 0.9586 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008414/1.055, allocations: 2.755 MB / 0.9613 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/1.059, allocations: 1.09 MB / 0.9624 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/1.059, allocations: 0.6043 MB / 0.963 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003788/1.063, allocations: 1.347 MB / 0.9643 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=121): time 3.246e-06/1.063, allocations: 0 / 0.9643 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121): time 0.0118/1.075, allocations: 3.433 MB / 0.9676 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.075, allocations: 196.5 kB / 0.9678 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.076, allocations: 0.7428 MB / 0.9685 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/1.077, allocations: 49.2 kB / 0.9686 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.077, allocations: 487.5 kB / 0.969 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/1.077, allocations: 404.7 kB / 0.9694 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/1.078, allocations: 250.3 kB / 0.9697 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.078, allocations: 357.5 kB / 0.97 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/1.081, allocations: 1.003 MB / 0.971 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/1.084, allocations: 1.139 MB / 0.9721 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/1.091, allocations: 1.984 MB / 0.974 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.091, allocations: 0 / 0.974 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007536/1.099, allocations: 2.365 MB / 0.9764 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.099, allocations: 5.531 kB / 0.9764 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.099, allocations: 0 / 0.9764 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/1.099, allocations: 88.3 kB / 0.9764 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.102, allocations: 412.1 kB / 0.9768 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.104, allocations: 1.638 MB / 0.9784 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.106, allocations: 277.5 kB / 0.9787 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.106, allocations: 63.34 kB / 0.9788 GB, free: 12.61 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 (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.0007779/1.107, allocations: 334.3 kB / 0.9791 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/1.107, allocations: 103.7 kB / 0.9792 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008215/1.115, allocations: 2.686 MB / 0.9818 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.116, allocations: 17.55 kB / 0.9818 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.116, allocations: 0 / 0.9818 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/1.116, allocations: 3.984 kB / 0.9818 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/1.126, allocations: 4.564 MB / 0.9863 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.126, allocations: 7.219 kB / 0.9863 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.128, allocations: 402.2 kB / 0.9867 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/1.129, allocations: 78.66 kB / 0.9867 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.129, allocations: 41.64 kB / 0.9868 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/1.131, allocations: 1.667 MB / 0.9884 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.131, allocations: 7.922 kB / 0.9884 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007935/1.139, allocations: 2.5 MB / 0.9909 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008757/1.14, allocations: 440.4 kB / 0.9913 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/1.14, allocations: 22.69 kB / 0.9913 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.142, allocations: 215.2 kB / 0.9915 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.142, allocations: 90.56 kB / 0.9916 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.142, allocations: 60.5 kB / 0.9916 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007774/1.143, allocations: 0.537 MB / 0.9922 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.21e-07/1.143, allocations: 2.812 kB / 0.9922 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00133/1.145, allocations: 444.5 kB / 0.9926 GB, free: 3.809 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 (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.001411/1.146, allocations: 0.6012 MB / 0.9932 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009141/1.155, allocations: 2.943 MB / 0.9961 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.155, allocations: 4 kB / 0.9961 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/1.159, allocations: 1.335 MB / 0.9974 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.161, allocations: 316.8 kB / 0.9977 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/1.169, allocations: 2.977 MB / 1.001 GB, free: 15.69 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/1.17, allocations: 1.155 MB / 1.002 GB, free: 14.79 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002352/1.172, allocations: 471.6 kB / 1.002 GB, free: 14.58 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/1.173, allocations: 157.4 kB / 1.002 GB, free: 14.52 MB / 0.7638 GB Notification: Performance of SimCode: time 9.92e-07/1.173, allocations: 0 / 1.002 GB, free: 14.52 MB / 0.7638 GB Notification: Performance of Templates: time 0.03593/1.209, allocations: 21.8 MB / 1.024 GB, free: 13.09 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)