Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, 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.002088/0.002088, allocations: 195 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.05 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00759/0.3095, allocations: 5.833 MB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1626/0.4722, allocations: 151.3 MB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.4734, allocations: 23.88 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.4743, allocations: 217.9 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.4767, allocations: 0.6631 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.4791, allocations: 0.9682 MB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.4812, allocations: 1.89 MB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.4825, allocations: 0.776 MB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000959/0.4835, allocations: 0.6659 MB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.4845, allocations: 0.7392 MB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.4849, allocations: 164 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.4862, allocations: 0.6206 MB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.4867, allocations: 434.7 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.4877, allocations: 0.7735 MB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.4902, allocations: 2.158 MB / 1.231 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4902, allocations: 0 / 1.231 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4902, allocations: 0 / 1.231 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.889e-05/0.4902, allocations: 0 / 1.231 GB, free: 2.559 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.003834/0.4941, allocations: 1.82 MB / 1.233 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4941, allocations: 8.031 kB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009179/0.5033, allocations: 1.279 MB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.5048, allocations: 0.9535 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/0.5049, allocations: 86.45 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.5052, allocations: 128 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005121/0.5103, allocations: 2.038 MB / 1.238 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.5103, allocations: 3.938 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.5105, allocations: 52 kB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.5106, allocations: 28 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007785/0.5183, allocations: 2.764 MB / 1.24 GB, free: 9.223 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.01083/0.5292, allocations: 4.732 MB / 1.245 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/0.5378, allocations: 2.734 MB / 1.248 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.5409, allocations: 1.047 MB / 1.249 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5403/1.081, allocations: 0.6048 MB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004473/1.086, allocations: 1.353 MB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 5.631e-06/1.086, allocations: 0 / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01181/1.098, allocations: 3.383 MB / 1.254 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/1.098, allocations: 198.2 kB / 1.254 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/1.099, allocations: 0.7703 MB / 1.255 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.099, allocations: 50.92 kB / 1.255 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/1.099, allocations: 483.7 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/1.1, allocations: 437.8 kB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/1.1, allocations: 268.4 kB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/1.1, allocations: 357.3 kB / 1.256 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.104, allocations: 0.9614 MB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/1.107, allocations: 1.099 MB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006468/1.114, allocations: 1.923 MB / 1.26 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.114, allocations: 2.594 kB / 1.26 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007698/1.122, allocations: 2.323 MB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.122, allocations: 4.688 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.122, allocations: 3.094 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.122, allocations: 89.75 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/1.125, allocations: 433.4 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.127, allocations: 1.645 MB / 1.265 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.129, allocations: 278.6 kB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.129, allocations: 66.5 kB / 1.265 GB, free: 178.9 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (150): * Single equations (assignments): 149 * 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.0007107/1.13, allocations: 343.9 kB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/1.13, allocations: 110.8 kB / 1.265 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008739/1.139, allocations: 2.717 MB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.139, allocations: 14.62 kB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.139, allocations: 5.938 kB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/1.139, allocations: 6.891 kB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.15, allocations: 4.311 MB / 1.272 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.15, allocations: 0.5156 kB / 1.272 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.153, allocations: 406 kB / 1.273 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/1.153, allocations: 75.03 kB / 1.273 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.153, allocations: 54.95 kB / 1.273 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.155, allocations: 1.68 MB / 1.274 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.155, allocations: 2.344 kB / 1.274 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/1.163, allocations: 2.49 MB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/1.164, allocations: 428.1 kB / 1.277 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.164, allocations: 33.02 kB / 1.277 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.166, allocations: 227.8 kB / 1.278 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/1.166, allocations: 99.06 kB / 1.278 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.167, allocations: 66.97 kB / 1.278 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006996/1.167, allocations: 0.5531 MB / 1.278 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.167, allocations: 1.219 kB / 1.278 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001309/1.169, allocations: 494.8 kB / 1.279 GB, free: 173.2 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.001474/1.17, allocations: 0.6521 MB / 1.279 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0093/1.179, allocations: 2.92 MB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.18, allocations: 1.281 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003906/1.183, allocations: 1.312 MB / 1.284 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.185, allocations: 352.6 kB / 1.284 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/1.192, allocations: 2.838 MB / 1.287 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/1.192, allocations: 1.166 MB / 1.288 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001846/1.194, allocations: 477.4 kB / 1.288 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/1.195, allocations: 175.5 kB / 1.288 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.195, allocations: 0 / 1.288 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03066/1.225, allocations: 23.14 MB / 1.311 GB, free: 150.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)