Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|sha.1..HDirTil|sha.2..HDirTil|sha.3..HDirTil|sha.4..HDirTil|sha.1..fraSun|sha.2..fraSun|sha.3..fraSun|sha.4..fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sha.1..HDirTil|sha.2..HDirTil|sha.3..HDirTil|sha.4..HDirTil|sha.1..fraSun|sha.2..fraSun|sha.3..fraSun|sha.4..fraSun",fileNamePrefix="Buildings_latest_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.001312/0.001312, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001386/0.001386, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 75.86 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.7144, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01048/0.725, allocations: 9.156 MB / 1.235 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.877, allocations: 156.4 MB / 1.388 GB, free: 7.277 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.8786, allocations: 35.81 kB / 1.388 GB, free: 7.242 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.8831, allocations: 1.69 MB / 1.39 GB, free: 5.543 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.8861, allocations: 0.9545 MB / 1.391 GB, free: 4.586 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.889, allocations: 1.211 MB / 1.392 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007773/0.8968, allocations: 7.436 MB / 1.399 GB, free: 11.93 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/0.9007, allocations: 3.137 MB / 1.402 GB, free: 8.715 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.9044, allocations: 3.149 MB / 1.405 GB, free: 5.555 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.9088, allocations: 3.318 MB / 1.408 GB, free: 2.223 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.9104, allocations: 0.6055 MB / 1.409 GB, free: 1.617 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.9132, allocations: 1.117 MB / 1.41 GB, free: 0.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.9149, allocations: 1.877 MB / 1.412 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.9183, allocations: 3.413 MB / 1.415 GB, free: 11.19 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008628/0.9269, allocations: 9.688 MB / 1.425 GB, free: 1.465 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.927, allocations: 7.938 kB / 1.425 GB, free: 1.457 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.373e-06/0.927, allocations: 0 / 1.425 GB, free: 1.457 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001517/0.9271, allocations: 4 kB / 1.425 GB, free: 1.453 MB / 1.139 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.01175/0.9389, allocations: 7.438 MB / 1.432 GB, free: 9.914 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9389, allocations: 8.031 kB / 1.432 GB, free: 9.906 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3174/1.256, allocations: 76.69 MB / 1.507 GB, free: 13.07 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/1.272, allocations: 7.612 MB / 1.514 GB, free: 5.391 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/1.272, allocations: 311.6 kB / 1.515 GB, free: 5.086 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/1.274, allocations: 376 kB / 1.515 GB, free: 4.719 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1103/1.384, allocations: 35.98 MB / 1.55 GB, free: 192 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/1.385, allocations: 19.81 kB / 1.55 GB, free: 172 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/1.386, allocations: 188 kB / 1.55 GB, free: 15.98 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.131e-05/1.386, allocations: 100 kB / 1.55 GB, free: 15.88 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7479/2.134, allocations: 63.56 MB / 1.613 GB, free: 299.7 MB / 1.279 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.1304/2.265, allocations: 62.83 MB / 1.674 GB, free: 236.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1139/2.378, allocations: 40.56 MB / 1.713 GB, free: 196.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08692/2.465, allocations: 30.49 MB / 1.743 GB, free: 165.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/2.466, allocations: 0.6546 MB / 1.744 GB, free: 164.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08955/2.555, allocations: 31.97 MB / 1.775 GB, free: 132.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=269): time 5.471e-06/2.555, allocations: 4 kB / 1.775 GB, free: 132.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=269): time 0.2618/2.817, allocations: 88.05 MB / 1.861 GB, free: 44.54 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/2.817, allocations: 316.8 kB / 1.861 GB, free: 44.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008075/2.825, allocations: 6.963 MB / 1.868 GB, free: 37.23 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001523/2.827, allocations: 81.7 kB / 1.868 GB, free: 37.14 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001897/2.829, allocations: 2.862 MB / 1.871 GB, free: 34.47 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/2.83, allocations: 0.9337 MB / 1.872 GB, free: 33.66 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/2.833, allocations: 1.273 MB / 1.873 GB, free: 32.38 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/2.833, allocations: 305.1 kB / 1.874 GB, free: 32.07 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08926/2.923, allocations: 30.53 MB / 1.903 GB, free: 1.496 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09822/3.021, allocations: 31.86 MB / 1.934 GB, free: 1.035 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1754/3.196, allocations: 54.17 MB / 1.987 GB, free: 10.23 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-05/3.196, allocations: 8 kB / 1.987 GB, free: 10.22 MB / 1.373 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.192/3.388, allocations: 59.11 MB / 2.045 GB, free: 14.98 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/3.388, allocations: 28.19 kB / 2.045 GB, free: 14.95 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/3.389, allocations: 40 kB / 2.045 GB, free: 14.91 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/3.389, allocations: 132.8 kB / 2.045 GB, free: 14.78 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05511/3.444, allocations: 13.12 MB / 2.058 GB, free: 1.633 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/3.447, allocations: 1.796 MB / 2.06 GB, free: 15.7 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05469/3.502, allocations: 12.51 MB / 2.072 GB, free: 3.266 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/3.504, allocations: 331.5 kB / 2.072 GB, free: 2.941 MB / 1.451 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.006335/3.51, allocations: 2.367 MB / 2.075 GB, free: 0.5859 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002826/3.513, allocations: 0.5782 MB / 2.075 GB, free: 4 kB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1986/3.711, allocations: 59.86 MB / 2.134 GB, free: 4.02 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/3.712, allocations: 19.92 kB / 2.134 GB, free: 4 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/3.712, allocations: 0 / 2.134 GB, free: 4 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007348/3.719, allocations: 3.017 MB / 2.137 GB, free: 1 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002975/3.722, allocations: 59.88 kB / 2.137 GB, free: 0.9414 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.6363/4.358, allocations: 12.15 MB / 2.149 GB, free: 0.5425 GB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/4.359, allocations: 183 kB / 2.149 GB, free: 0.5425 GB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2161/4.575, allocations: 69.74 MB / 2.217 GB, free: 0.4926 GB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2581/4.833, allocations: 93.76 MB / 2.308 GB, free: 410.7 MB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.08629/4.919, allocations: 30.58 MB / 2.338 GB, free: 380.1 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.005907/4.925, allocations: 4.862 MB / 2.343 GB, free: 375.3 MB / 1.514 GB Notification: Performance of Backend: time 4.41e-07/4.925, allocations: 0.5469 kB / 2.343 GB, free: 375.3 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.09774/5.023, allocations: 32.46 MB / 2.375 GB, free: 343.1 MB / 1.514 GB Notification: Performance of SimCode: time 0.01801/5.041, allocations: 12.71 MB / 2.387 GB, free: 330.4 MB / 1.514 GB Notification: Performance of Templates: time 0.2075/5.249, allocations: 210.4 MB / 2.593 GB, free: 120.4 MB / 1.514 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)