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 2.41/2.41, allocations: 252 MB / 267.3 MB, free: 10.83 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.001957/0.001957, allocations: 172.5 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.549/3.549, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.00136/0.00136, allocations: 99.73 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005396, allocations: 11.91 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.341, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007693/0.3488, allocations: 4.403 MB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2526/0.6015, allocations: 146.6 MB / 1.048 GB, free: 7.676 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.6035, allocations: 15.94 kB / 1.048 GB, free: 7.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.6048, allocations: 142.8 kB / 1.049 GB, free: 7.52 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.003474/0.6083, allocations: 432 kB / 1.049 GB, free: 7.098 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.6124, allocations: 0.7847 MB / 1.05 GB, free: 6.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003485/0.6159, allocations: 1.582 MB / 1.051 GB, free: 4.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.6179, allocations: 0.6903 MB / 1.052 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.6194, allocations: 430 kB / 1.052 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.6208, allocations: 0.4975 MB / 1.053 GB, free: 3.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.6213, allocations: 40 kB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.6234, allocations: 427.6 kB / 1.053 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.6241, allocations: 262.9 kB / 1.053 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.6256, allocations: 0.5645 MB / 1.054 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.63, allocations: 1.76 MB / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.63, allocations: 0 / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of FrontEnd: time 5.831e-06/0.6301, allocations: 0 / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001203/0.6302, allocations: 0 / 1.056 GB, free: 40 kB / 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.7973/1.427, allocations: 1.371 MB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.114e-05/1.428, allocations: 9.188 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005071/1.428, allocations: 175.8 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/1.441, allocations: 1.557 MB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/1.446, allocations: 0.9038 MB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/1.446, allocations: 85.11 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/1.446, allocations: 107.2 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009654/1.456, allocations: 2.055 MB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/1.456, allocations: 3.938 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/1.456, allocations: 46.84 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/1.456, allocations: 27.41 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/1.47, allocations: 2.922 MB / 1.065 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/1.489, allocations: 4.125 MB / 1.069 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.503, allocations: 2.821 MB / 1.072 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00527/1.509, allocations: 1.121 MB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008038/1.509, allocations: 0.6112 MB / 1.073 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006091/1.516, allocations: 1.376 MB / 1.075 GB, free: 152 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 9.758e-06/1.516, allocations: 0 / 1.075 GB, free: 152 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.01846/1.534, allocations: 3.549 MB / 1.078 GB, free: 151 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.534, allocations: 201.8 kB / 1.078 GB, free: 150.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.536, allocations: 0.7025 MB / 1.079 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004272/1.537, allocations: 52.17 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/1.537, allocations: 452.5 kB / 1.079 GB, free: 150.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/1.538, allocations: 399.8 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/1.539, allocations: 19.53 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.539, allocations: 342.3 kB / 1.08 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.544, allocations: 1.02 MB / 1.081 GB, free: 149.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005472/1.549, allocations: 1.161 MB / 1.082 GB, free: 148.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.56, allocations: 2.059 MB / 1.084 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/1.56, allocations: 0 / 1.084 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01283/1.573, allocations: 2.39 MB / 1.087 GB, free: 145.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/1.573, allocations: 7.938 kB / 1.087 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.573, allocations: 1.375 kB / 1.087 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009647/1.574, allocations: 92.33 kB / 1.087 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/1.578, allocations: 459.3 kB / 1.087 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/1.581, allocations: 1.54 MB / 1.089 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/1.585, allocations: 316.9 kB / 1.089 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006022/1.585, allocations: 51.94 kB / 1.089 GB, free: 142.6 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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.001646/1.587, allocations: 317.5 kB / 1.089 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.588, allocations: 104.9 kB / 1.089 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.601, allocations: 2.837 MB / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.601, allocations: 16 kB / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.601, allocations: 3.938 kB / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/1.601, allocations: 7.969 kB / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.616, allocations: 4.368 MB / 1.097 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.616, allocations: 0 / 1.097 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/1.619, allocations: 459.4 kB / 1.097 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007076/1.62, allocations: 88.77 kB / 1.097 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/1.62, allocations: 43.94 kB / 1.097 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/1.623, allocations: 1.563 MB / 1.099 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.623, allocations: 0 / 1.099 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.633, allocations: 2.589 MB / 1.101 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.634, allocations: 423.1 kB / 1.102 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/1.635, allocations: 24 kB / 1.102 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003055/1.638, allocations: 287.8 kB / 1.102 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/1.638, allocations: 85.19 kB / 1.102 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.639, allocations: 55.94 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001213/1.64, allocations: 0.5146 MB / 1.102 GB, free: 128.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.64, allocations: 4 kB / 1.102 GB, free: 128.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002243/1.642, allocations: 423.1 kB / 1.103 GB, free: 128.2 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.01275/1.655, allocations: 3.627 MB / 1.106 GB, free: 124.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009958/1.665, allocations: 2.44 MB / 1.109 GB, free: 122.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/1.665, allocations: 1.406 kB / 1.109 GB, free: 122.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005169/1.67, allocations: 1.368 MB / 1.11 GB, free: 120.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.673, allocations: 290.5 kB / 1.11 GB, free: 120.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04656/1.72, allocations: 12.98 MB / 1.123 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.721, allocations: 1.12 MB / 1.124 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003734/1.725, allocations: 472.2 kB / 1.125 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.727, allocations: 0.4914 MB / 1.125 GB, free: 105.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.804e-06/1.727, allocations: 4 kB / 1.125 GB, free: 105.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07971/1.807, allocations: 27.23 MB / 1.152 GB, free: 78.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/1.807, allocations: 296.8 kB / 1.152 GB, free: 77.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.392/7.199, allocations: 0 / 1.152 GB, free: 77.95 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)