Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001578/0.001578, allocations: 108 kB / 15.61 MB, free: 152 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.001898/0.001898, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.345/1.345, 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.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.59 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2422, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007045/0.2493, allocations: 5.833 MB / 1.059 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1415/0.3908, allocations: 151.3 MB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008744/0.3917, allocations: 15.94 kB / 1.206 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.3923, allocations: 221.8 kB / 1.207 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.3939, allocations: 0.6556 MB / 1.207 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.3958, allocations: 0.9703 MB / 1.208 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.3971, allocations: 1.893 MB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.398, allocations: 0.7716 MB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.3986, allocations: 0.6698 MB / 1.211 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006611/0.3993, allocations: 0.7431 MB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.3995, allocations: 164 kB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/0.4004, allocations: 0.605 MB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.4007, allocations: 442.7 kB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.4013, allocations: 0.7813 MB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.403, allocations: 2.165 MB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.403, allocations: 0 / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.403, allocations: 0 / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.403, allocations: 0 / 1.216 GB, free: 396 kB / 0.9669 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.002769/0.4058, allocations: 1.807 MB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4058, allocations: 12.62 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.406, allocations: 186 kB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008664/0.4147, allocations: 1.282 MB / 1.219 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.416, allocations: 0.9495 MB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.4161, allocations: 94.45 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.4163, allocations: 123.9 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/0.421, allocations: 2.037 MB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.421, allocations: 0 / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.4212, allocations: 52 kB / 1.223 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.4212, allocations: 32 kB / 1.223 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007245/0.4284, allocations: 2.764 MB / 1.225 GB, free: 6.863 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.007721/0.4362, allocations: 4.736 MB / 1.23 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00772/0.4439, allocations: 2.734 MB / 1.233 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.4469, allocations: 1.04 MB / 1.234 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.4474, allocations: 0.614 MB / 1.234 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003445/0.4509, allocations: 1.362 MB / 1.236 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 4.589e-06/0.4509, allocations: 0 / 1.236 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.0107/0.4616, allocations: 3.383 MB / 1.239 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.4617, allocations: 193.2 kB / 1.239 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.4627, allocations: 0.7745 MB / 1.24 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.4629, allocations: 53.7 kB / 1.24 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.4633, allocations: 488.8 kB / 1.24 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.4636, allocations: 425.8 kB / 1.241 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.4641, allocations: 254.7 kB / 1.241 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4642, allocations: 349.9 kB / 1.241 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/0.4672, allocations: 0.9431 MB / 1.242 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.4705, allocations: 1.093 MB / 1.243 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006057/0.4765, allocations: 1.899 MB / 1.245 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4765, allocations: 4 kB / 1.245 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.5323/1.009, allocations: 2.269 MB / 1.247 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.009, allocations: 6.344 kB / 1.247 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.009, allocations: 0.9062 kB / 1.247 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/1.01, allocations: 90.53 kB / 1.247 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/1.012, allocations: 417 kB / 1.248 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/1.042, allocations: 1.644 MB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.045, allocations: 278.6 kB / 1.25 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/1.045, allocations: 60.34 kB / 1.25 GB, free: 191.4 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.001199/1.047, allocations: 328.5 kB / 1.25 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/1.047, allocations: 118.2 kB / 1.25 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009227/1.056, allocations: 2.726 MB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.056, allocations: 17.41 kB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.056, allocations: 0 / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/1.056, allocations: 9.844 kB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.068, allocations: 4.314 MB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.068, allocations: 0 / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.07, allocations: 410.5 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/1.07, allocations: 77.59 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.071, allocations: 49.84 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/1.072, allocations: 1.671 MB / 1.259 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.072, allocations: 8.578 kB / 1.259 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007802/1.08, allocations: 2.479 MB / 1.262 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/1.081, allocations: 432.5 kB / 1.262 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.081, allocations: 32.34 kB / 1.262 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.084, allocations: 227.8 kB / 1.262 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.084, allocations: 102.6 kB / 1.262 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/1.084, allocations: 65.64 kB / 1.263 GB, free: 189 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001157/1.085, allocations: 0.5548 MB / 1.263 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.085, allocations: 4 kB / 1.263 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00197/1.087, allocations: 498.8 kB / 1.264 GB, free: 188.8 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.01069/1.098, allocations: 3.587 MB / 1.267 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.108, allocations: 2.891 MB / 1.27 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.108, allocations: 1.125 kB / 1.27 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/1.112, allocations: 1.315 MB / 1.271 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.114, allocations: 335.6 kB / 1.271 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/1.144, allocations: 12.41 MB / 1.284 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/1.144, allocations: 1.162 MB / 1.285 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001966/1.146, allocations: 494.7 kB / 1.285 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009709/1.147, allocations: 0.5398 MB / 1.286 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.147, allocations: 3.938 kB / 1.286 GB, free: 181 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3247/1.472, allocations: 31.35 MB / 1.316 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/16.7, allocations: 9.906 kB / 1.316 GB, free: 154.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)