Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001169, 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.001095/0.001095, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.508/2.508, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 66.92 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2375, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00708/0.2446, allocations: 5.818 MB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.3928, allocations: 151.3 MB / 1.218 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.3936, allocations: 27.81 kB / 1.218 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.3942, allocations: 225.9 kB / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3961, allocations: 0.6502 MB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.3981, allocations: 0.969 MB / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.4, allocations: 1.897 MB / 1.221 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.401, allocations: 0.7755 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000836/0.4019, allocations: 0.6659 MB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008721/0.4028, allocations: 0.7314 MB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.403, allocations: 164 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.404, allocations: 0.6167 MB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.4044, allocations: 442.7 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.4051, allocations: 0.7735 MB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.4072, allocations: 2.165 MB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4073, allocations: 4 kB / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4073, allocations: 0 / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.4073, allocations: 0 / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002921/0.4102, allocations: 1.811 MB / 1.229 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4103, allocations: 8.031 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.4105, allocations: 193.9 kB / 1.229 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008419/0.4189, allocations: 1.278 MB / 1.231 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4202, allocations: 0.9457 MB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.4202, allocations: 90.45 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.4204, allocations: 124 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.425, allocations: 2.041 MB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.425, allocations: 0 / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.4252, allocations: 52 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.4252, allocations: 32 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00723/0.4325, allocations: 2.76 MB / 1.237 GB, free: 12.78 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007731/0.4402, allocations: 4.736 MB / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007681/0.4479, allocations: 2.731 MB / 1.244 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.4509, allocations: 1.05 MB / 1.245 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005349/0.4514, allocations: 0.6023 MB / 1.245 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003389/0.4548, allocations: 1.363 MB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 2.184e-06/0.4548, allocations: 3.938 kB / 1.247 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.3571/0.812, allocations: 3.369 MB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.8121, allocations: 200.7 kB / 1.25 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.8129, allocations: 0.7736 MB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/0.813, allocations: 48.42 kB / 1.251 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.8133, allocations: 489.2 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.8136, allocations: 435.4 kB / 1.252 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.814, allocations: 254.8 kB / 1.252 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.814, allocations: 349.8 kB / 1.252 GB, free: 184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/0.8167, allocations: 0.9431 MB / 1.253 GB, free: 184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.8196, allocations: 1.092 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/0.8247, allocations: 1.901 MB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8247, allocations: 0 / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006371/0.8311, allocations: 2.277 MB / 1.259 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8312, allocations: 7.359 kB / 1.259 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.8312, allocations: 2.781 kB / 1.259 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.8317, allocations: 82.56 kB / 1.259 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.8338, allocations: 425.6 kB / 1.259 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1168/0.9506, allocations: 1.641 MB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.953, allocations: 281.3 kB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.9531, allocations: 58.38 kB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.000546/0.9537, allocations: 331.2 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.9539, allocations: 112.3 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.9648, allocations: 2.722 MB / 1.264 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.9648, allocations: 18.19 kB / 1.264 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.9649, allocations: 4.562 kB / 1.264 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.9649, allocations: 10.41 kB / 1.264 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.9756, allocations: 4.314 MB / 1.268 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.9756, allocations: 0 / 1.268 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/0.9778, allocations: 417.4 kB / 1.269 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.9782, allocations: 71.61 kB / 1.269 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.9783, allocations: 54.95 kB / 1.269 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.9798, allocations: 1.676 MB / 1.27 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9798, allocations: 9.172 kB / 1.27 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007008/0.9868, allocations: 2.476 MB / 1.273 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.9874, allocations: 435.5 kB / 1.273 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.9876, allocations: 28.53 kB / 1.273 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.9895, allocations: 226 kB / 1.274 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.9897, allocations: 108.9 kB / 1.274 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.9898, allocations: 64.7 kB / 1.274 GB, free: 178 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006207/0.9904, allocations: 0.5598 MB / 1.274 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9904, allocations: 0 / 1.274 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001086/0.9915, allocations: 494.2 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.02049/1.012, allocations: 3.593 MB / 1.278 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.023, allocations: 2.893 MB / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.023, allocations: 0 / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/1.026, allocations: 1.308 MB / 1.282 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.027, allocations: 345.5 kB / 1.283 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.05, allocations: 12.42 MB / 1.295 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.05, allocations: 1.156 MB / 1.296 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001457/1.052, allocations: 482.3 kB / 1.296 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/1.052, allocations: 0.5363 MB / 1.297 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.052, allocations: 4 kB / 1.297 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.447/3.5, allocations: 31.36 MB / 1.328 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.16/23.66, allocations: 8.734 kB / 1.328 GB, free: 136.6 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)