Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.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.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, 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.001285/0.001285, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.52 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3176, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01256/0.3303, allocations: 9.153 MB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.5137, allocations: 156.4 MB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.516, allocations: 39.81 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.521, allocations: 1.683 MB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.5244, allocations: 0.9385 MB / 1.232 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.5273, allocations: 1.202 MB / 1.234 GB, free: 328 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00964/0.5369, allocations: 7.401 MB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004193/0.5411, allocations: 3.129 MB / 1.244 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.5466, allocations: 3.087 MB / 1.247 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6965/1.243, allocations: 3.331 MB / 1.25 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002355/1.246, allocations: 0.6092 MB / 1.251 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/1.249, allocations: 1.082 MB / 1.252 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003026/1.252, allocations: 1.888 MB / 1.254 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008621/1.261, allocations: 3.417 MB / 1.257 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01405/1.275, allocations: 9.528 MB / 1.266 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.275, allocations: 0 / 1.266 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.275, allocations: 1.312 kB / 1.266 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004609/1.276, allocations: 0.8438 kB / 1.266 GB, free: 11.83 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 979 * Number of variables: 979 Notification: Performance of Generate backend data structure: time 0.0242/1.3, allocations: 7.241 MB / 1.273 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/1.3, allocations: 10.78 kB / 1.273 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3407/1.641, allocations: 77.27 MB / 1.349 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/1.659, allocations: 7.311 MB / 1.356 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/1.66, allocations: 314.2 kB / 1.356 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/1.663, allocations: 382 kB / 1.357 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.122/1.785, allocations: 35.98 MB / 1.392 GB, free: 7.195 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/1.786, allocations: 24.5 kB / 1.392 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/1.789, allocations: 181.2 kB / 1.392 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/1.789, allocations: 100 kB / 1.392 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2239/2.013, allocations: 63.58 MB / 1.454 GB, free: 9.387 MB / 1.123 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.212/2.225, allocations: 62.92 MB / 1.516 GB, free: 9.945 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2462/2.471, allocations: 40.56 MB / 1.555 GB, free: 1.363 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1068/2.578, allocations: 30.48 MB / 1.585 GB, free: 2.824 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/2.579, allocations: 0.6482 MB / 1.586 GB, free: 2.07 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1103/2.689, allocations: 31.97 MB / 1.617 GB, free: 1.988 MB / 1.279 GB Notification: Performance of pre-optimization done (n=269): time 8.236e-06/2.689, allocations: 0 / 1.617 GB, free: 1.988 MB / 1.279 GB Notification: Performance of matching and sorting (n=269): time 0.319/3.008, allocations: 88.04 MB / 1.703 GB, free: 9.746 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/3.009, allocations: 321.1 kB / 1.703 GB, free: 9.363 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0204/3.029, allocations: 7.005 MB / 1.71 GB, free: 2.355 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.002326/3.031, allocations: 81.7 kB / 1.71 GB, free: 2.27 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.004881/3.036, allocations: 2.818 MB / 1.713 GB, free: 15.45 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.003341/3.04, allocations: 0.8852 MB / 1.714 GB, free: 14.57 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008261/3.048, allocations: 1.269 MB / 1.715 GB, free: 13.29 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001312/3.048, allocations: 301.1 kB / 1.715 GB, free: 13 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1069/3.155, allocations: 30.53 MB / 1.745 GB, free: 14.41 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7798/3.935, allocations: 31.86 MB / 1.776 GB, free: 0.5827 GB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1839/4.119, allocations: 54.18 MB / 1.829 GB, free: 0.5511 GB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.951e-05/4.119, allocations: 12 kB / 1.829 GB, free: 0.5511 GB / 1.42 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.219/4.338, allocations: 59.09 MB / 1.887 GB, free: 0.4935 GB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/4.338, allocations: 20 kB / 1.887 GB, free: 0.4935 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/4.338, allocations: 36 kB / 1.887 GB, free: 0.4934 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/4.339, allocations: 141.1 kB / 1.887 GB, free: 0.4933 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05325/4.392, allocations: 13.12 MB / 1.9 GB, free: 492 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/4.394, allocations: 1.788 MB / 1.901 GB, free: 490.1 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05459/4.449, allocations: 12.49 MB / 1.914 GB, free: 477.8 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/4.451, allocations: 331.5 kB / 1.914 GB, free: 477.5 MB / 1.42 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * Number of states: 0 () * Number of discrete variables: 56 (sha[4].idxSou.y,sha[3].idxSou.y,sha[2].idxSou.y,sha[1].idxSou.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,sha[1].ove.solAzi.outsidePolarCircle,sha[2].ove.solAzi.outsidePolarCircle,sha[3].ove.solAzi.outsidePolarCircle,sha[4].ove.solAzi.outsidePolarCircle,sha[4].extFraSun.index,$PRE.sha[4].extFraSun.index,sha[3].extFraSun.index,$PRE.sha[3].extFraSun.index,sha[2].extFraSun.index,$PRE.sha[2].extFraSun.index,sha[1].extFraSun.index,$PRE.sha[1].extFraSun.index,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,sha[4].extFraSun.k[4],sha[4].extFraSun.k[3],sha[4].extFraSun.k[2],sha[4].extFraSun.k[1],sha[3].extFraSun.k[4],sha[3].extFraSun.k[3],sha[3].extFraSun.k[2],sha[3].extFraSun.k[1],sha[2].extFraSun.k[4],sha[2].extFraSun.k[3],sha[2].extFraSun.k[2],sha[2].extFraSun.k[1],sha[1].extFraSun.k[4],sha[1].extFraSun.k[3],sha[1].extFraSun.k[2],sha[1].extFraSun.k[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * 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.007946/4.459, allocations: 2.366 MB / 1.916 GB, free: 475.1 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003605/4.463, allocations: 0.5476 MB / 1.917 GB, free: 474.8 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1978/4.661, allocations: 59.88 MB / 1.975 GB, free: 414.8 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/4.661, allocations: 31.94 kB / 1.975 GB, free: 414.7 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/4.661, allocations: 0 / 1.975 GB, free: 414.7 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/4.661, allocations: 20.33 kB / 1.975 GB, free: 414.7 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2056/4.867, allocations: 70.1 MB / 2.044 GB, free: 344.5 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/4.867, allocations: 0 / 2.044 GB, free: 344.5 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05042/4.917, allocations: 12.73 MB / 2.056 GB, free: 331.7 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/4.918, allocations: 88.78 kB / 2.056 GB, free: 331.7 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001654/4.919, allocations: 203.6 kB / 2.057 GB, free: 331.5 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/4.921, allocations: 1.749 MB / 2.058 GB, free: 329.6 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/4.921, allocations: 3.938 kB / 2.058 GB, free: 329.6 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1846/5.105, allocations: 57.9 MB / 2.115 GB, free: 271.5 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007299/5.113, allocations: 2.992 MB / 2.118 GB, free: 268.5 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003846/5.117, allocations: 63.98 kB / 2.118 GB, free: 268.4 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05032/5.167, allocations: 12.14 MB / 2.13 GB, free: 256.2 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008193/5.168, allocations: 182.1 kB / 2.13 GB, free: 256.1 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001472/5.169, allocations: 243.5 kB / 2.13 GB, free: 255.8 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.007484/5.177, allocations: 4.894 MB / 2.135 GB, free: 250.9 MB / 1.42 GB Notification: Performance of sort global known variables: time 3.31e-07/5.177, allocations: 0 / 2.135 GB, free: 250.9 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.00777/5.185, allocations: 2.217 MB / 2.137 GB, free: 248.7 MB / 1.42 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sha[1].extFraSun.k[1],sha[1].extFraSun.k[2],sha[1].extFraSun.k[3],sha[1].extFraSun.k[4],sha[2].extFraSun.k[1],sha[2].extFraSun.k[2],sha[2].extFraSun.k[3],sha[2].extFraSun.k[4],sha[3].extFraSun.k[1],sha[3].extFraSun.k[2],sha[3].extFraSun.k[3],sha[3].extFraSun.k[4],sha[4].extFraSun.k[1],sha[4].extFraSun.k[2],sha[4].extFraSun.k[3],sha[4].extFraSun.k[4],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.conTimMin.tNext,HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 22 * 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.002476/5.187, allocations: 0.716 MB / 2.138 GB, free: 248.3 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.2324/5.42, allocations: 67.93 MB / 2.204 GB, free: 180.2 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/5.42, allocations: 4 kB / 2.204 GB, free: 180.2 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.1484/5.568, allocations: 30.9 MB / 2.234 GB, free: 149.3 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/5.578, allocations: 1.417 MB / 2.236 GB, free: 147.9 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/5.691, allocations: 41.09 MB / 2.276 GB, free: 106.8 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003199/5.695, allocations: 4.177 MB / 2.28 GB, free: 102.5 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.01728/5.712, allocations: 4.398 MB / 2.284 GB, free: 98.14 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006645/5.719, allocations: 0.6587 MB / 2.285 GB, free: 97.48 MB / 1.42 GB Notification: Performance of SimCode: time 1.493e-06/5.719, allocations: 0 / 2.285 GB, free: 97.48 MB / 1.42 GB Notification: Performance of Templates: time 0.6813/6.4, allocations: 139.6 MB / 2.421 GB, free: 0.5421 GB / 1.42 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)