Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009681/0.000968, allocations: 175.8 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007194/0.0007194, allocations: 90.05 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 13 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1486, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.004112/0.1528, allocations: 4.501 MB / 0.9006 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1279/0.2807, allocations: 148.5 MB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008645/0.2816, allocations: 19.88 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.2824, allocations: 142.9 kB / 1.046 GB, free: 10.27 MB / 0.698 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001614/0.284, allocations: 440.2 kB / 1.046 GB, free: 9.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.286, allocations: 0.7806 MB / 1.047 GB, free: 9.062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.2878, allocations: 1.578 MB / 1.049 GB, free: 7.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.2888, allocations: 0.69 MB / 1.049 GB, free: 6.762 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006986/0.2895, allocations: 426 kB / 1.05 GB, free: 6.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.2902, allocations: 0.5092 MB / 1.05 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.2904, allocations: 32 kB / 1.05 GB, free: 5.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008823/0.2913, allocations: 427.5 kB / 1.051 GB, free: 5.383 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.2916, allocations: 266.9 kB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.2922, allocations: 0.5278 MB / 1.051 GB, free: 4.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.2941, allocations: 1.763 MB / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2941, allocations: 0 / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2941, allocations: 0 / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.561e-05/0.2942, allocations: 0 / 1.053 GB, free: 2.82 MB / 0.698 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.002677/0.2969, allocations: 1.372 MB / 1.054 GB, free: 1.391 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2969, allocations: 8.031 kB / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/0.2973, allocations: 173.4 kB / 1.055 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.299/0.5962, allocations: 1.555 MB / 1.056 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.5976, allocations: 0.9085 MB / 1.057 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.5977, allocations: 83.89 kB / 1.057 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5979, allocations: 107.5 kB / 1.057 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.6019, allocations: 2.056 MB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.602, allocations: 3.938 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.6021, allocations: 52.62 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.6021, allocations: 28.06 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00673/0.6088, allocations: 2.921 MB / 1.062 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/0.6162, allocations: 4.125 MB / 1.066 GB, free: 157.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00738/0.6236, allocations: 2.821 MB / 1.069 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.6265, allocations: 1.123 MB / 1.07 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.6268, allocations: 0.6023 MB / 1.071 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002953/0.6298, allocations: 1.37 MB / 1.072 GB, free: 156.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 2.505e-06/0.6298, allocations: 0 / 1.072 GB, free: 156.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.009186/0.639, allocations: 3.554 MB / 1.075 GB, free: 154.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.6391, allocations: 204.5 kB / 1.076 GB, free: 154.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/0.6399, allocations: 0.706 MB / 1.076 GB, free: 154 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.64, allocations: 50.33 kB / 1.076 GB, free: 154 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.6402, allocations: 448.9 kB / 1.077 GB, free: 153.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6405, allocations: 399.2 kB / 1.077 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.6406, allocations: 84.27 kB / 1.077 GB, free: 153.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.6407, allocations: 344.4 kB / 1.078 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.6434, allocations: 1.019 MB / 1.079 GB, free: 152.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.6463, allocations: 1.164 MB / 1.08 GB, free: 151.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005488/0.6518, allocations: 2.056 MB / 1.082 GB, free: 150.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6518, allocations: 3.906 kB / 1.082 GB, free: 150.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005933/0.6577, allocations: 2.394 MB / 1.084 GB, free: 149 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6578, allocations: 10.75 kB / 1.084 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6578, allocations: 0 / 1.084 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.6583, allocations: 89.73 kB / 1.084 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.6602, allocations: 459.3 kB / 1.085 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.6617, allocations: 1.533 MB / 1.086 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.6635, allocations: 322.7 kB / 1.086 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6636, allocations: 56.48 kB / 1.086 GB, free: 146.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (126): * Single equations (assignments): 125 * 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.0005012/0.6641, allocations: 313.5 kB / 1.087 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.6644, allocations: 98.78 kB / 1.087 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6747, allocations: 2.836 MB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.6747, allocations: 12 kB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6747, allocations: 6.781 kB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.6747, allocations: 7.969 kB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007869/0.6826, allocations: 4.374 MB / 1.094 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6826, allocations: 0 / 1.094 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/0.6845, allocations: 459.4 kB / 1.094 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/0.685, allocations: 88.77 kB / 1.094 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.6851, allocations: 43.94 kB / 1.094 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.6863, allocations: 1.563 MB / 1.096 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6864, allocations: 0 / 1.096 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/0.6921, allocations: 2.585 MB / 1.098 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.6926, allocations: 399.2 kB / 1.099 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.6928, allocations: 31.94 kB / 1.099 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.6946, allocations: 283.7 kB / 1.099 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.6947, allocations: 89.12 kB / 1.099 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.6948, allocations: 55.94 kB / 1.099 GB, free: 132.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004868/0.6953, allocations: 0.5185 MB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6953, allocations: 0 / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009102/0.6962, allocations: 423.2 kB / 1.1 GB, free: 132 MB / 0.698 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.00851/0.7048, allocations: 3.626 MB / 1.104 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007437/0.7122, allocations: 2.44 MB / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7122, allocations: 0 / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/0.7152, allocations: 1.369 MB / 1.107 GB, free: 124.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.7165, allocations: 285.4 kB / 1.108 GB, free: 124.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/0.7402, allocations: 12.96 MB / 1.12 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.7407, allocations: 1.12 MB / 1.121 GB, free: 110.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001576/0.7423, allocations: 476.1 kB / 1.122 GB, free: 109.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.743, allocations: 0.4953 MB / 1.122 GB, free: 109.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.743, allocations: 0 / 1.122 GB, free: 109.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/0.9317, allocations: 27.22 MB / 1.149 GB, free: 82.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.932, allocations: 304.8 kB / 1.149 GB, free: 81.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.906, allocations: 0 / 1.149 GB, free: 81.84 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)