Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001578/0.001584, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.001817/0.001817, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.326/1.326, 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 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7083, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01027/0.7186, allocations: 9.18 MB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.8744, allocations: 156.4 MB / 1.329 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.8761, allocations: 39.81 kB / 1.329 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.8804, allocations: 1.698 MB / 1.331 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.8833, allocations: 0.9627 MB / 1.332 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.886, allocations: 1.213 MB / 1.333 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007597/0.8936, allocations: 7.452 MB / 1.34 GB, free: 2.207 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003422/0.8971, allocations: 3.121 MB / 1.343 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.9012, allocations: 3.161 MB / 1.346 GB, free: 11.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.9054, allocations: 3.322 MB / 1.349 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00138/0.9068, allocations: 0.6016 MB / 1.35 GB, free: 7.902 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.9094, allocations: 1.113 MB / 1.351 GB, free: 6.789 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.9111, allocations: 1.877 MB / 1.353 GB, free: 4.906 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003694/0.9148, allocations: 3.409 MB / 1.356 GB, free: 1.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.9235, allocations: 9.646 MB / 1.366 GB, free: 7.805 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9235, allocations: 0 / 1.366 GB, free: 7.805 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9235, allocations: 7.938 kB / 1.366 GB, free: 7.797 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001909/0.9237, allocations: 0 / 1.366 GB, free: 7.797 MB / 1.092 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.01353/0.9372, allocations: 7.233 MB / 1.373 GB, free: 480 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9373, allocations: 12.88 kB / 1.373 GB, free: 468 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3449/1.282, allocations: 76.65 MB / 1.448 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/1.298, allocations: 7.497 MB / 1.455 GB, free: 12.08 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/1.298, allocations: 311.6 kB / 1.455 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/1.3, allocations: 380 kB / 1.456 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.12/1.42, allocations: 35.98 MB / 1.491 GB, free: 6.879 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/1.421, allocations: 23.81 kB / 1.491 GB, free: 6.855 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/1.423, allocations: 179.9 kB / 1.491 GB, free: 6.68 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/1.423, allocations: 100 kB / 1.491 GB, free: 6.582 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2227/1.645, allocations: 63.57 MB / 1.553 GB, free: 6.902 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.6557/2.301, allocations: 62.78 MB / 1.614 GB, free: 337.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1249/2.426, allocations: 40.56 MB / 1.654 GB, free: 297.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09625/2.522, allocations: 30.48 MB / 1.684 GB, free: 266.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/2.523, allocations: 0.6531 MB / 1.684 GB, free: 266 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09919/2.622, allocations: 31.97 MB / 1.716 GB, free: 233.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=269): time 5.911e-06/2.622, allocations: 8 kB / 1.716 GB, free: 233.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=269): time 0.2897/2.912, allocations: 88.03 MB / 1.802 GB, free: 145.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/2.912, allocations: 312.9 kB / 1.802 GB, free: 145.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008428/2.92, allocations: 6.962 MB / 1.809 GB, free: 138.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001693/2.922, allocations: 73.7 kB / 1.809 GB, free: 138.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/2.924, allocations: 2.824 MB / 1.812 GB, free: 135.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001976/2.926, allocations: 0.888 MB / 1.812 GB, free: 134.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003213/2.929, allocations: 1.265 MB / 1.814 GB, free: 133.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.366e-05/2.93, allocations: 313 kB / 1.814 GB, free: 133.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1002/3.03, allocations: 30.53 MB / 1.844 GB, free: 102.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1003/3.13, allocations: 31.86 MB / 1.875 GB, free: 70.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1819/3.312, allocations: 54.17 MB / 1.928 GB, free: 15.29 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/3.312, allocations: 12 kB / 1.928 GB, free: 15.28 MB / 1.279 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.2067/3.519, allocations: 59.08 MB / 1.986 GB, free: 4.059 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/3.519, allocations: 24.25 kB / 1.986 GB, free: 4.035 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.004e-05/3.519, allocations: 39.98 kB / 1.986 GB, free: 3.996 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/3.52, allocations: 136.7 kB / 1.986 GB, free: 3.859 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0588/3.578, allocations: 13.13 MB / 1.999 GB, free: 6.707 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/3.581, allocations: 1.777 MB / 2 GB, free: 4.785 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0573/3.638, allocations: 12.5 MB / 2.012 GB, free: 8.262 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/3.64, allocations: 331.5 kB / 2.013 GB, free: 7.938 MB / 1.357 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.006618/3.647, allocations: 2.36 MB / 2.015 GB, free: 5.566 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002979/3.65, allocations: 0.5476 MB / 2.016 GB, free: 5.012 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2148/3.865, allocations: 59.87 MB / 2.074 GB, free: 9 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/3.865, allocations: 19.88 kB / 2.074 GB, free: 8.98 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/3.865, allocations: 5.156 kB / 2.074 GB, free: 8.977 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007815/3.873, allocations: 2.984 MB / 2.077 GB, free: 5.965 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003142/3.876, allocations: 63.86 kB / 2.077 GB, free: 5.902 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05527/3.931, allocations: 12.15 MB / 2.089 GB, free: 9.734 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006586/3.932, allocations: 190.1 kB / 2.089 GB, free: 9.547 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.7955/4.727, allocations: 69.73 MB / 2.157 GB, free: 492 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2871/5.015, allocations: 93.74 MB / 2.249 GB, free: 398.3 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.09511/5.11, allocations: 30.58 MB / 2.279 GB, free: 367.7 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.0062/5.116, allocations: 4.862 MB / 2.283 GB, free: 362.8 MB / 1.436 GB Notification: Performance of Backend: time 5.31e-07/5.116, allocations: 0 / 2.283 GB, free: 362.8 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.1058/5.222, allocations: 32.45 MB / 2.315 GB, free: 330.7 MB / 1.436 GB Notification: Performance of SimCode: time 0.01906/5.241, allocations: 12.53 MB / 2.327 GB, free: 318.1 MB / 1.436 GB Notification: Performance of Templates: time 0.205/5.446, allocations: 210.3 MB / 2.533 GB, free: 108.2 MB / 1.436 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)