Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_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.000857/0.000857, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005133/0.005133, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.379/2.379, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 12.22 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2892, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005385/0.2947, allocations: 5.775 MB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1259/0.4206, allocations: 147.2 MB / 1.208 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.4215, allocations: 19.88 kB / 1.208 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.4222, allocations: 178.6 kB / 1.208 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.4241, allocations: 0.605 MB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.426, allocations: 0.8654 MB / 1.21 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.428, allocations: 1.994 MB / 1.212 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.4291, allocations: 0.8071 MB / 1.213 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/0.4299, allocations: 0.521 MB / 1.213 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008498/0.4308, allocations: 0.6064 MB / 1.214 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.4309, allocations: 40 kB / 1.214 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.4318, allocations: 0.4917 MB / 1.214 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.432, allocations: 298.7 kB / 1.214 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.4326, allocations: 0.6813 MB / 1.215 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.4342, allocations: 2.266 MB / 1.217 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4342, allocations: 0 / 1.217 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4342, allocations: 0 / 1.217 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.4342, allocations: 0 / 1.217 GB, free: 1.828 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.002521/0.4368, allocations: 1.602 MB / 1.219 GB, free: 172 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4368, allocations: 8.031 kB / 1.219 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.437, allocations: 210.8 kB / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00882/0.4458, allocations: 1.571 MB / 1.221 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.4471, allocations: 1.039 MB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.4472, allocations: 102.7 kB / 1.222 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.4474, allocations: 128 kB / 1.222 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/0.4522, allocations: 2.33 MB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4522, allocations: 3.938 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.4524, allocations: 59.92 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.4524, allocations: 32 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/0.4599, allocations: 3.214 MB / 1.227 GB, free: 7.352 MB / 0.9825 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.007835/0.4677, allocations: 5.48 MB / 1.233 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007839/0.4756, allocations: 3.173 MB / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/0.4787, allocations: 1.234 MB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.4791, allocations: 0.6144 MB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003497/0.4826, allocations: 1.563 MB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 2.474e-06/0.4827, allocations: 0 / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01078/0.4934, allocations: 3.976 MB / 1.243 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.4935, allocations: 197.2 kB / 1.243 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008604/0.4944, allocations: 0.8099 MB / 1.244 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.4945, allocations: 53.7 kB / 1.244 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.4949, allocations: 0.5239 MB / 1.245 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.4952, allocations: 425.8 kB / 1.245 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4953, allocations: 97.66 kB / 1.245 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4955, allocations: 353.9 kB / 1.245 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/0.4985, allocations: 1.142 MB / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/0.5017, allocations: 1.296 MB / 1.248 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4232/0.925, allocations: 2.267 MB / 1.25 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.925, allocations: 0.9375 kB / 1.25 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007396/0.9324, allocations: 2.665 MB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.9324, allocations: 5.5 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9324, allocations: 1.094 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.933, allocations: 84.58 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.9352, allocations: 482.9 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.9367, allocations: 1.547 MB / 1.255 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.9387, allocations: 360.3 kB / 1.255 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9388, allocations: 60.62 kB / 1.255 GB, free: 186.7 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 (HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (143): * Single equations (assignments): 142 * 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.0005353/0.9394, allocations: 348.6 kB / 1.255 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.9396, allocations: 118.2 kB / 1.256 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007527/0.9471, allocations: 3.114 MB / 1.259 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.9471, allocations: 19.56 kB / 1.259 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9471, allocations: 3.031 kB / 1.259 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.9472, allocations: 7.172 kB / 1.259 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.9489, allocations: 1.815 MB / 1.26 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.949, allocations: 0 / 1.26 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/0.9511, allocations: 470.4 kB / 1.261 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.9516, allocations: 82.67 kB / 1.261 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.9517, allocations: 54.33 kB / 1.261 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.953, allocations: 1.552 MB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.953, allocations: 6.938 kB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/0.9602, allocations: 2.804 MB / 1.265 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.9608, allocations: 494.3 kB / 1.266 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.961, allocations: 27.48 kB / 1.266 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.963, allocations: 310.4 kB / 1.266 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.9632, allocations: 100.8 kB / 1.266 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.9634, allocations: 67.97 kB / 1.266 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007129/0.9641, allocations: 0.5869 MB / 1.267 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9641, allocations: 0 / 1.267 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001083/0.9652, allocations: 0.4995 MB / 1.267 GB, free: 184.3 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.009041/0.9742, allocations: 3.898 MB / 1.271 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006951/0.9812, allocations: 2.721 MB / 1.274 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9812, allocations: 0 / 1.274 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003663/0.9849, allocations: 1.517 MB / 1.275 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.9862, allocations: 317.2 kB / 1.275 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.013, allocations: 14.47 MB / 1.29 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/1.014, allocations: 1.195 MB / 1.291 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001589/1.015, allocations: 480 kB / 1.291 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/1.016, allocations: 0.5791 MB / 1.292 GB, free: 175 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/1.016, allocations: 0 / 1.292 GB, free: 175 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.811/10.83, allocations: 31.35 MB / 1.322 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003544/10.83, allocations: 282.3 kB / 1.323 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/13.63, allocations: 0 / 1.323 GB, free: 147.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)